content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
available:\n - original\n - original_white\n - dark_green\n - magenta\n - egyptian_blue\n - dark\n | dataset_sample\yaml\ruby\color_themes.yml | color_themes.yml | YAML | 97 | 0.5 | 0 | 0 | python-kit | 0 | 2024-11-12T00:26:55.767799 | BSD-3-Clause | false | 2cfaf852d27e1fcb368132b6b23b4f7d |
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_add: c = a + b\nloop_count: 1000000\n | dataset_sample\yaml\ruby\complex_float_add.yml | complex_float_add.yml | YAML | 190 | 0.7 | 0 | 0 | python-kit | 797 | 2023-08-08T04:39:15.597686 | GPL-3.0 | false | 4902220eb50571d738afb6466fc1ca0c |
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_div: c = a / b\nloop_count: 1000000\n | dataset_sample\yaml\ruby\complex_float_div.yml | complex_float_div.yml | YAML | 190 | 0.7 | 0 | 0 | react-lib | 591 | 2023-10-17T12:43:02.948780 | Apache-2.0 | false | 3ae94e7851c583f225e6660c4258782b |
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_mul: c = a * b\nloop_count: 1000000\n | dataset_sample\yaml\ruby\complex_float_mul.yml | complex_float_mul.yml | YAML | 190 | 0.7 | 0 | 0 | awesome-app | 630 | 2025-04-22T21:09:12.961348 | GPL-3.0 | false | 005427a5b392c2b9784bae13a1742932 |
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_new: c = Complex(a, b)\nloop_count: 1000000\n | dataset_sample\yaml\ruby\complex_float_new.yml | complex_float_new.yml | YAML | 198 | 0.7 | 0 | 0 | vue-tools | 470 | 2023-08-09T04:03:20.095071 | BSD-3-Clause | false | e558d8f40f074e697b2df5818f1ca364 |
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_power: c = a ** b\nloop_count: 1000000\n | dataset_sample\yaml\ruby\complex_float_power.yml | complex_float_power.yml | YAML | 193 | 0.7 | 0 | 0 | awesome-app | 330 | 2024-01-06T09:46:25.828719 | MIT | false | a6c3cac6440469626d487225b20ba15f |
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_sub: c = a - b\nloop_count: 1000000\n | dataset_sample\yaml\ruby\complex_float_sub.yml | complex_float_sub.yml | YAML | 190 | 0.7 | 0 | 0 | node-utils | 471 | 2024-06-17T22:06:17.756963 | GPL-3.0 | false | 5c50d4ed3ce039bdaba9ca8f9601b26e |
version: 2.1\n\ndefaults: &defaults\n environment: &environment\n CIRCLE_TEST_REPORTS: /tmp/test-results\n CIRCLE_ARTIFACTS: /tmp/test-artifacts\n BUNDLE_JOBS: 4\n BUNDLE_RETRY: 3\n BUNDLE_PATH: ~/spree/vendor/bundle\n DB_HOST: localhost\n DB: postgres # default value, this will speed up bundle install for all postgres builds\n DB_USERNAME: postgres\n working_directory: ~/spree\n docker:\n - image: &ruby_image cimg/ruby:3.3.0-browsers\n\ncommands:\n bundle_install:\n steps:\n - restore_cache:\n keys:\n - spree-bundle-v11-ruby-{{ checksum ".ruby-version" }}-{{ .Branch }}\n - spree-bundle-v11-ruby-{{ checksum ".ruby-version" }}\n - install_libvips\n - run:\n name: Install global dependencies\n command: bundle check || bundle install\n - run:\n name: Install per-project gem dependencies\n command: bin/build-ci.rb install\n install_libvips:\n steps:\n - run:\n name: Install libvips\n command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 32EE5355A6BC6E42 && sudo apt-get update && sudo apt-get install libvips42\n store_all_artifacts:\n steps:\n - store_artifacts:\n path: /tmp/test-artifacts\n destination: test-artifacts\n - store_artifacts:\n path: /tmp/failed_tests\n destination: failed_tests\n - store_artifacts:\n path: /tmp/test-results\n destination: raw-test-output\n - store_test_results:\n path: /tmp/test-results\njobs:\n build:\n <<: *defaults\n steps:\n - checkout\n - bundle_install\n - save_cache:\n key: spree-bundle-v11-ruby-{{ checksum ".ruby-version" }}-{{ .Branch }}\n paths:\n - ~/spree/vendor/bundle\n test: &test\n <<: *defaults\n docker:\n - image: *ruby_image\n - image: cimg/postgres:16.2\n environment:\n POSTGRES_USER: postgres\n steps: &default_steps\n - checkout\n - attach_workspace:\n at: /tmp\n - install_libvips\n - bundle_install\n - run:\n name: Run tests\n command: bin/build-ci.rb test\n - store_all_artifacts\n\n test_mysql: &test_mysql\n <<: *test\n docker:\n - image: *ruby_image\n - image: cimg/mysql:8.0\n command: [--default-authentication-plugin=mysql_native_password]\n environment:\n MYSQL_ROOT_PASSWORD: password\n environment: &mysql_environment\n <<: *environment\n DB: mysql\n DB_USERNAME: root\n DB_PASSWORD: password\n DB_HOST: 127.0.0.1\n\n # postgres tests\n test_core_postgres:\n <<: *test\n parallelism: 6\n environment:\n <<: *environment\n PROJECTS: core\n test_api_postgres:\n <<: *test\n parallelism: 4\n environment:\n <<: *environment\n PROJECTS: api\n test_admin_postgres:\n <<: *test\n environment:\n <<: *environment\n PROJECTS: admin\n test_storefront_postgres:\n <<: *test\n environment:\n <<: *environment\n PROJECTS: storefront\n test_other_postgres:\n <<: *test\n environment:\n <<: *environment\n PROJECTS: emails,sample\n\n # mysql tests\n test_core_mysql:\n <<: *test_mysql\n parallelism: 6\n environment:\n <<: *mysql_environment\n PROJECTS: core\n test_api_mysql:\n <<: *test_mysql\n parallelism: 4\n environment:\n <<: *mysql_environment\n PROJECTS: api\n test_admin_mysql:\n <<: *test_mysql\n environment:\n <<: *mysql_environment\n PROJECTS: admin\n test_storefront_mysql:\n <<: *test_mysql\n environment:\n <<: *mysql_environment\n PROJECTS: storefront\n test_other_mysql:\n <<: *test_mysql\n environment:\n <<: *mysql_environment\n PROJECTS: emails,sample\n\nworkflows:\n main:\n jobs:\n - build\n # postgres tests\n - test_core_postgres:\n requires:\n - build\n - test_api_postgres:\n requires:\n - build\n - test_admin_postgres:\n requires:\n - build\n - test_storefront_postgres:\n requires:\n - build\n - test_other_postgres:\n requires:\n - build\n\n # mysql tests\n - test_core_mysql:\n requires:\n - build\n - test_core_postgres\n - test_api_mysql:\n requires:\n - build\n - test_api_postgres\n - test_admin_mysql:\n requires:\n - build\n - test_admin_postgres\n - test_storefront_mysql:\n requires:\n - build\n - test_storefront_postgres\n - test_other_mysql:\n requires:\n - build\n - test_other_postgres | dataset_sample\yaml\ruby\config.yml | config.yml | YAML | 4,687 | 0.95 | 0.005263 | 0.021739 | python-kit | 643 | 2024-03-02T13:52:35.351204 | MIT | false | 6b8a249a7aeeb967b58271df41ff14dc |
services:\n rails:\n image: quay.io/forem/forem:development\n container_name: forem_rails\n ports:\n - "3000:3000"\n depends_on:\n - bundle\n - db\n - redis\n - yarn\n healthcheck:\n test: ["CMD", "curl" , "-f", "http://localhost:3000/"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 10s\n environment:\n RAILS_ENV: development\n DATABASE_URL: postgresql://forem:forem@db:5432/PracticalDeveloper_development\n REDIS_SESSIONS_URL: redis://redis:6379\n REDIS_SIDEKIQ_URL: redis://redis:6379\n REDIS_URL: redis://redis:6379\n RACK_TIMEOUT_WAIT_TIMEOUT: 10000\n RACK_TIMEOUT_SERVICE_TIMEOUT: 10000\n STATEMENT_TIMEOUT: 10000\n APP_DOMAIN: rails\n volumes:\n - .:/opt/apps/forem:z\n entrypoint: ["dockerize", "-wait", "tcp://db:5432", "-wait", "tcp://redis:6379", "-wait", "file:///opt/apps/forem/vendor/bundle/.bundle_finished", "-timeout", "2700s"]\n command: [ "bash", "-c", "./scripts/entrypoint.sh bootstrap && bundle exec rails server -b 0.0.0.0 -p 3000"]\n\n bundle:\n image: quay.io/forem/forem:development\n container_name: forem_bundle\n environment:\n RAILS_ENV: development\n REDIS_SESSIONS_URL: redis://redis:6379\n REDIS_SIDEKIQ_URL: redis://redis:6379\n REDIS_URL: redis://redis:6379\n DATABASE_URL: postgresql://forem:forem@db:5432/PracticalDeveloper_development\n volumes:\n - .:/opt/apps/forem:z\n command: ["./scripts/bundle.sh"]\n\n yarn:\n image: quay.io/forem/forem:development\n container_name: forem_yarn\n environment:\n RAILS_ENV: development\n REDIS_SESSIONS_URL: redis://redis:6379\n REDIS_SIDEKIQ_URL: redis://redis:6379\n REDIS_URL: redis://redis:6379\n DATABASE_URL: postgresql://forem:forem@db:5432/PracticalDeveloper_development\n volumes:\n - .:/opt/apps/forem:z\n command: [ "bash", "-c", "yarn install --dev"]\n\n webpacker:\n image: quay.io/forem/forem:development\n container_name: forem_webpacker\n depends_on:\n - rails\n - yarn\n environment:\n RAILS_ENV: development\n REDIS_SESSIONS_URL: redis://redis:6379\n REDIS_SIDEKIQ_URL: redis://redis:6379\n REDIS_URL: redis://redis:6379\n DATABASE_URL: postgresql://forem:forem@db:5432/PracticalDeveloper_development\n volumes:\n - .:/opt/apps/forem:z\n entrypoint: ["dockerize", "-wait", "file:///opt/apps/forem/node_modules/.bin/webpack-dev-server", "-timeout", "300s"]\n command: ["./bin/webpack-dev-server"]\n\n seed:\n image: quay.io/forem/forem:development\n container_name: forem_seed\n depends_on:\n rails:\n condition: service_healthy\n redis:\n condition: service_healthy\n db:\n condition: service_healthy\n environment:\n RAILS_ENV: development\n REDIS_SESSIONS_URL: redis://redis:6379\n REDIS_SIDEKIQ_URL: redis://redis:6379\n REDIS_URL: redis://redis:6379\n DATABASE_URL: postgresql://forem:forem@db:5432/PracticalDeveloper_development\n volumes:\n - .:/opt/apps/forem:z\n command: ["bundle", "exec", "rake","db:seed"]\n\n sidekiq:\n image: quay.io/forem/forem:development\n container_name: forem_sidekiq\n depends_on:\n rails:\n condition: service_healthy\n redis:\n condition: service_healthy\n db:\n condition: service_healthy\n environment:\n RAILS_ENV: development\n REDIS_SESSIONS_URL: redis://redis:6379\n REDIS_SIDEKIQ_URL: redis://redis:6379\n REDIS_URL: redis://redis:6379\n DATABASE_URL: postgresql://forem:forem@db:5432/PracticalDeveloper_development\n volumes:\n - .:/opt/apps/forem:z\n command: ["bundle", "exec", "sidekiq","-c","2"]\n\n db:\n image: postgres:11-alpine\n container_name: forem_postgresql\n healthcheck:\n test: [ "CMD", "pg_isready", "-d" ,"forem", "-U", "forem" ]\n interval: 10s\n timeout: 5s\n retries: 5\n environment:\n POSTGRES_USER: forem\n POSTGRES_PASSWORD: forem\n POSTGRES_DB: PracticalDeveloper_development\n ports:\n - "5432:5432"\n volumes:\n - db_data:/var/lib/postgresql/data:Z\n\n redis:\n image: redis:6.0.9-alpine\n healthcheck:\n test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]\n interval: 20s\n timeout: 5s\n retries: 3\n start_period: 10s\n container_name: forem_redis\n ports:\n - "6379:6379"\n\nvolumes:\n db_data:\n | dataset_sample\yaml\ruby\container-compose.yml | container-compose.yml | YAML | 4,399 | 0.8 | 0 | 0 | vue-tools | 528 | 2023-10-02T16:17:48.115008 | MIT | false | 7e68a3efa519bc697a00cf684a4c9ef8 |
# This is needed for the GitHub Action\nproject_id_env: CROWDIN_PROJECT_ID\napi_token_env: CROWDIN_PERSONAL_TOKEN\n\nskip_untranslated_strings: 1\ncommit_message: '[ci skip]'\npreserve_hierarchy: true\nfiles:\n - source: /app/javascript/mastodon/locales/en.json\n translation: /app/javascript/mastodon/locales/%two_letters_code%.json\n - source: /config/locales/en.yml\n translation: /config/locales/%two_letters_code%.yml\n - source: /config/locales/simple_form.en.yml\n translation: /config/locales/simple_form.%two_letters_code%.yml\n - source: /config/locales/activerecord.en.yml\n translation: /config/locales/activerecord.%two_letters_code%.yml\n - source: /config/locales/devise.en.yml\n translation: /config/locales/devise.%two_letters_code%.yml\n - source: /config/locales/doorkeeper.en.yml\n translation: /config/locales/doorkeeper.%two_letters_code%.yml\n | dataset_sample\yaml\ruby\crowdin.yml | crowdin.yml | YAML | 870 | 0.8 | 0.05 | 0.052632 | react-lib | 649 | 2024-01-20T13:02:38.742264 | GPL-3.0 | false | f058bd4bb7f464c78c7159ca304ae59c |
<%\nrerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""\nrerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"\nstd_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"\nignored_tags = "--tags ~@boot --tags ~@targets"\n%>\ndefault: <%= std_opts %> <%= ignored_tags %> features\nboot: <%= std_opts %> --tags @boot features\nexploit: <%= std_opts %> --tags @targets features\nwip: --tags @wip:3 --wip features\nrerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip | dataset_sample\yaml\ruby\cucumber.yml | cucumber.yml | YAML | 614 | 0.8 | 0 | 0 | awesome-app | 165 | 2023-09-22T10:05:22.792482 | Apache-2.0 | false | ba20714460452f8fcd89f35675fe8345 |
#######################################################################\n############### DO NOT TOUCH ANYTHING BELOW THIS ######################\n#######################################################################\n\ndefaults:\n version:\n number: "1.0.0-dev" # Do not touch unless doing a release, do not backport the version number that's in master\n heroku: false\n environment:\n url: "http://localhost:3000/"\n certificate_authorities:\n redis:\n require_ssl: true\n sidekiq:\n concurrency: 5\n retry: 10\n backtrace: 15\n dead_jobs_limit: 5000\n dead_jobs_timeout: 3628800 # 6 weeks\n log: 'log/sidekiq.log'\n s3:\n enable: false\n key:\n secret:\n bucket:\n region:\n cache: true\n image_redirect_url:\n assets:\n serve: false\n upload: false\n host:\n pubsub_server: 'https://pubsubhubbub.appspot.com/'\n logging:\n logrotate:\n enable: true\n days: 7\n debug:\n sql: false\n federation: false\n server:\n listen: "tcp://127.0.0.1:3000"\n rails_environment: 'development'\n pid: "tmp/pids/web.pid"\n stderr_log:\n stdout_log:\n web_timeout: 90\n sidekiq_workers: 1\n map:\n mapbox:\n enabled: false\n access_token:\n style: "mapbox/streets-v9"\n privacy:\n jquery_cdn: false\n google_analytics_key:\n piwik:\n enable: false\n host:\n site_id:\n statistics:\n user_counts: false\n post_counts: false\n comment_counts: false\n camo:\n proxy_markdown_images: false\n proxy_opengraph_thumbnails: false\n proxy_remote_pod_images: false\n root:\n key:\n settings:\n pod_name: 'diaspora*'\n enable_registrations: true\n enable_local_posts_stream: 'disabled'\n autofollow_on_join: true\n autofollow_on_join_user: 'hq@pod.diaspora.software'\n welcome_message:\n enabled: false\n subject: 'Welcome Message'\n text: 'Hello %{username}, welcome to diaspora*.'\n invitations:\n open: true\n count: 25\n paypal_donations:\n enable: false\n currency: USD\n paypal_hosted_button_id:\n paypal_unhosted_button_encrypted:\n liberapay_username:\n bitcoin_address:\n bitcoin_wallet_id: # DEPRECATED: Remove with 0.6\n community_spotlight:\n enable: false\n suggest_email:\n typhoeus_verbose: false\n typhoeus_concurrency: 20\n archive_jobs_concurrency: 1\n username_blacklist:\n - 'admin'\n - 'administrator'\n - 'hostmaster'\n - 'info'\n - 'postmaster'\n - 'root'\n - 'ssladmin'\n - 'ssladministrator'\n - 'sslwebmaster'\n - 'sysadmin'\n - 'webmaster'\n - 'support'\n - 'contact'\n - 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'\n captcha:\n enable: true\n image_size: '120x20'\n captcha_length: 5\n image_style: 'simply_green'\n distortion: 'low'\n terms:\n enable: false\n jurisdiction: false\n minimum_age: false\n maintenance:\n remove_old_users:\n enable: false\n after_days: 730\n warn_days: 30\n limit_removals_to_per_day: 100\n source_url:\n changelog_url:\n default_color_theme: "original"\n default_metas:\n title: 'diaspora* social network'\n description: 'diaspora* is the online social world where you are in control.'\n csp:\n report_only: false\n report_uri:\n services:\n twitter:\n enable: false\n key:\n secret:\n authorized: true\n tumblr:\n enable: false\n key:\n secret:\n authorized: true\n wordpress:\n enable: false\n key:\n secret:\n authorized: true\n mail:\n enable: false\n sender_address: 'no-reply@example.org'\n method: 'smtp'\n smtp:\n host: 'localhost'\n port: 587\n authentication: 'plain'\n username:\n password:\n starttls_auto: true\n openssl_verify_mode:\n domain:\n sendmail:\n location: '/usr/sbin/sendmail'\n exim_fix: false\n message_bus_api_key:\n admins:\n account:\n podmin_email:\n\ndevelopment:\n environment:\n assets:\n serve: true\n require_ssl: false\n logging:\n debug:\n sql: true\n settings:\n autofollow_on_join: false\n autofollow_on_join_user: ''\nproduction:\n server:\n listen: 'unix://tmp/diaspora.sock'\ntest:\n environment:\n url: 'http://localhost:9887/'\n require_ssl: false\n assets:\n serve: true\n settings:\n autofollow_on_join: false\n autofollow_on_join_user: ''\n invitations:\n open: true\n services:\n twitter:\n enable: true\n key: 'fake'\n secret: 'sdoigjosdfijg'\n tumblr:\n enable: true\n key: 'fake'\n secret: 'sdoigjosdfijg'\n mail:\n enable: true\n | dataset_sample\yaml\ruby\defaults.yml | defaults.yml | YAML | 4,725 | 0.95 | 0 | 0.014423 | react-lib | 274 | 2025-02-23T04:24:36.159302 | Apache-2.0 | false | 750d7aad4d27e96e8087310e6744d5fd |
version: 2\nupdates:\n- package-ecosystem: bundler\n directory: "/core"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/cli"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/api"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/sample"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/storefront"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/admin"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/emails"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n | dataset_sample\yaml\ruby\dependabot.yml | dependabot.yml | YAML | 820 | 0.7 | 0 | 0 | awesome-app | 980 | 2023-11-29T16:48:13.141076 | Apache-2.0 | false | 472f4d4d2a33a3a123cd5bad71376430 |
# don't run unmaintained test on any dependencies in Gemfile\n# We need to add this file to exclude unmaintained errors due to the dependency to the "colored" gem\ntests:\n unmaintained: skip\n | dataset_sample\yaml\ruby\dependencyci.yml | dependencyci.yml | YAML | 190 | 0.8 | 0 | 0.5 | awesome-app | 31 | 2024-11-02T05:07:59.302041 | BSD-3-Clause | false | e2eaf7da0c46cd72fe329e77fd70332d |
site_settings:\n tagging_enabled: true\n verbose_discourse_connect_logging: true\n\nseed: 1\nstart_date: 2020-01-01\nauth_plugin_enabled: true\nallow_anonymous_to_impersonate: false\n\ncategory:\n count: 30\ngroup:\n count: 15\npost:\n include_images: false\n max_likes_count: 10\npost_revisions:\n count: 50\ntag:\n count: 30\ntopic:\n count: 30\n replies:\n # number of replies per topic between min and max\n min: 0\n max: 12\n overrides:\n # topic titles can be found in config/locales/faker.en.yml\n # in the discourse_dev_assets gem\n - title: "Coolest thing you have seen today"\n count: 99\n tags:\n # number of tags per topic between min and max\n min: 0\n max: 3\nuser:\n count: 30\nemail_logs:\n count: 2\n\nnew_user:\n username: new_user\n email: new_user@example.com\n | dataset_sample\yaml\ruby\dev_defaults.yml | dev_defaults.yml | YAML | 796 | 0.8 | 0 | 0.1 | vue-tools | 582 | 2023-11-12T11:57:51.910472 | MIT | false | db37f0bdb1df4010080dec949fcd76cf |
version: '7.1'\n\n# Define default environment variables to pass\n# to Docker Compose\nenvironment:\n RAILS_ENV: development\n\ncompose:\n files:\n - docker-compose.yml\n project_name: forem\n\ninteraction:\n # This command spins up a Rails container with the required dependencies (such as databases),\n # and opens a terminal within it.\n runner:\n description: Open a Bash shell within a Rails container (with dependencies up)\n service: rails\n command: /bin/bash\n\n # Run a Rails container without any dependent services (useful for non-Rails scripts)\n bash:\n description: Run an arbitrary script within a container (or open a shell without deps)\n service: rails\n command: /bin/bash\n compose_run_options: [ no-deps ]\n\n # A shortcut to run Bundler commands\n bundle:\n description: Run Bundler commands\n service: rails\n command: bundle\n compose_run_options: [ no-deps ]\n\n # A shortcut to run RSpec (which overrides the RAILS_ENV)\n rspec:\n description: Run Rails unit tests\n service: rails\n environment:\n RAILS_ENV: test\n command: bundle exec rspec --exclude-pattern 'system/**/*_spec.rb'\n subcommands:\n system:\n description: Run Rails system tests\n service: rspec_system\n command: bundle exec rspec --pattern 'system/**/*_spec.rb'\n\n rails:\n description: Run Rails commands\n service: rails\n command: bundle exec rails\n subcommands:\n s:\n description: Run Rails server at http://localhost:3000\n service: web\n compose:\n run_options: [ service-ports, use-aliases ]\n\n yarn:\n description: Run Yarn commands\n service: rails\n command: yarn\n compose_run_options: [ no-deps ]\n\n psql:\n description: Run Postgres psql console\n service: postgres\n default_args: practicaldeveloper_development\n command: psql -h postgres -U postgres\n\n 'redis-cli':\n description: Run Redis console\n service: redis\n command: redis-cli -h redis\n\nprovision:\n # You may include this command if you would like to remove all volumes\n # - dip compose down --volumes\n #\n - dip compose up -d postgres\n - dip compose up -d redis\n - dip bash -c bin/setup\n - dip rails db:test:prepare RAILS_ENV=test\n | dataset_sample\yaml\ruby\dip.yml | dip.yml | YAML | 2,222 | 0.95 | 0.024096 | 0.138889 | python-kit | 465 | 2024-12-16T19:38:34.315168 | MIT | false | c9f245631555cb8b0102a4e41386c2de |
services:\n ms:\n build:\n context: .\n dockerfile: ./Dockerfile\n args:\n BUNDLER_ARGS: --jobs=8\n image: metasploit:dev\n environment:\n DATABASE_URL: postgres://postgres@db:5432/msf_dev?pool=200&timeout=5\n volumes:\n - .:/usr/src/metasploit-framework\n | dataset_sample\yaml\ruby\docker-compose.override.yml | docker-compose.override.yml | YAML | 289 | 0.8 | 0 | 0 | react-lib | 651 | 2023-08-02T15:12:14.373011 | GPL-3.0 | false | 0367231f82fded554e69c0502a74ac23 |
version: "3"\n\nx-uffizzi:\n ingress:\n service: rails\n port: 3000\n\nservices:\n rails:\n image: "${APP_IMAGE}"\n container_name: forem_rails\n ports:\n - "3000:3000"\n depends_on:\n - db\n - redis\n environment:\n RAILS_ENV: development\n DATABASE_URL: postgresql://forem:forem@localhost:5432/PracticalDeveloper_development\n REDIS_SESSIONS_URL: redis://localhost:6379\n REDIS_SIDEKIQ_URL: redis://localhost:6379\n REDIS_URL: redis://localhost:6379\n RACK_TIMEOUT_WAIT_TIMEOUT: 10000\n RACK_TIMEOUT_SERVICE_TIMEOUT: 10000\n STATEMENT_TIMEOUT: 10000\n APP_DOMAIN: localhost:3000\n APP_PROTOCOL: https://\n entrypoint: ["dockerize", "-wait", "tcp://localhost:5432", "-wait", "tcp://localhost:6379", "-wait", "file:///opt/apps/forem/vendor/bundle/.bundle_finished", "-timeout", "5400s"]\n command: [ "bash", "-c", "./uffizzi/entrypoint.sh bootstrap"]\n deploy:\n resources:\n limits:\n memory: 4000M\n\n sidekiq:\n image: "${APP_IMAGE}"\n container_name: forem_sidekiq\n depends_on:\n - rails\n - redis\n - db\n environment:\n RAILS_ENV: development\n REDIS_SESSIONS_URL: redis://localhost:6379\n REDIS_SIDEKIQ_URL: redis://localhost:6379\n REDIS_URL: redis://localhost:6379\n DATABASE_URL: postgresql://forem:forem@localhost:5432/PracticalDeveloper_development\n entrypoint: ["dockerize", "-wait", "tcp://localhost:5432", "-wait", "tcp://localhost:6379", "-wait", "http://localhost:3000", "-timeout", "5400s"]\n command: ["bundle", "exec", "sidekiq","-c","2"]\n deploy:\n resources:\n limits:\n memory: 500M\n\n db:\n image: postgres:11-alpine\n container_name: forem_postgresql\n environment:\n POSTGRES_USER: forem\n POSTGRES_PASSWORD: forem\n POSTGRES_DB: PracticalDeveloper_development\n ports:\n - "5432:5432"\n\n redis:\n image: redis:6.0.9-alpine\n container_name: forem_redis\n ports:\n - "6379:6379"\n | dataset_sample\yaml\ruby\docker-compose.uffizzi.yml | docker-compose.uffizzi.yml | YAML | 1,991 | 0.8 | 0 | 0 | react-lib | 951 | 2024-09-11T19:07:40.774433 | Apache-2.0 | false | f8a1a5183ede6ab09e5a32b3ab0ef23e |
services:\n ms:\n image: metasploitframework/metasploit-framework:latest\n environment:\n DATABASE_URL: postgres://postgres@db:5432/msf?pool=200&timeout=5\n links:\n - db\n ports:\n - 4444:4444\n volumes:\n - $HOME/.msf4:/home/msf/.msf4\n\n db:\n image: postgres:10-alpine\n volumes:\n - pg_data:/var/lib/postgresql/data\n environment:\n POSTGRES_HOST_AUTH_METHOD: trust\n\nvolumes:\n pg_data:\n driver: local\n | dataset_sample\yaml\ruby\docker-compose.yml | docker-compose.yml | YAML | 449 | 0.8 | 0 | 0 | react-lib | 349 | 2025-06-07T23:37:15.350252 | GPL-3.0 | false | 21aaca9b84738aac04d3954ca08be948 |
# Disabled by default to prevent the agent starting up when not required\n# To enable, set your ELASTIC_APM_SERVER_URL and ELASTIC_APM_SECRET_TOKEN in your .env\n# Additional configuration options can be set below, as per the docs: https://www.elastic.co/guide/en/apm/agent/ruby/current/configuration.html#configuration\n\nenabled: <%= ENV.fetch('ELASTIC_APM_SECRET_TOKEN', false).present? %>\n | dataset_sample\yaml\ruby\elastic_apm.yml | elastic_apm.yml | YAML | 390 | 0.95 | 0 | 0.75 | python-kit | 213 | 2023-11-26T19:07:32.952989 | Apache-2.0 | false | 73a212ec2a166ed00843a5c1b56cc2b2 |
prelude: |\n num = (1..).lazy.take(100)\n ary2 = [[1,2]].cycle.lazy.take(10)\n ary10 = [[*1..10]].cycle.lazy.take(10)\n ary20 = [[*1..20]].cycle.lazy.take(10)\n ary50 = [[*1..50]].cycle.lazy.take(10)\n ary100 = [[*1..100]].cycle.lazy.take(10)\n\nbenchmark:\n num3: num.flat_map {|x| x}.take(3).to_a\n num10: num.flat_map {|x| x}.take(3).to_a\n ary2: ary2.flat_map {|x| x}.take(3).to_a\n ary10: ary10.flat_map {|x| x}.take(3).to_a\n ary20: ary20.flat_map {|x| x}.take(3).to_a\n ary50: ary50.flat_map {|x| x}.take(3).to_a\n ary100: ary100.flat_map {|x| x}.take(3).to_a\n | dataset_sample\yaml\ruby\enum_lazy_flat_map.yml | enum_lazy_flat_map.yml | YAML | 566 | 0.7 | 0 | 0 | vue-tools | 599 | 2024-12-15T16:37:11.073279 | MIT | false | e44e18a9946fb3e32ef20bce4ff23a96 |
prelude: |\n a = (1..3).lazy\n b = a.map {|x| x}\n\nbenchmark:\n first_ary: a.zip(["a", "b", "c"]).first\n first_nonary: a.zip("a".."c").first\n first_noarg: a.zip.first\n\n take3_ary: a.zip(["a", "b", "c"]).take(3).force\n take3_nonary: a.zip("a".."c").take(3).force\n take3_noarg: a.zip.take(3).force\n\n chain-first_ary: b.zip(["a", "b", "c"]).first\n chain-first_nonary: b.zip("a".."c").first\n chain-first_noarg: b.zip.first\n\n chain-take3_ary: b.zip(["a", "b", "c"]).take(3).force\n chain-take3_nonary: b.zip("a".."c").take(3).force\n chain-take3_noarg: b.zip.take(3).force\n\n block: a.zip("a".."c") {|x, y| [x, y]}\n | dataset_sample\yaml\ruby\enum_lazy_zip.yml | enum_lazy_zip.yml | YAML | 618 | 0.7 | 0 | 0 | vue-tools | 69 | 2024-01-25T19:42:50.603264 | MIT | false | 623d5a85c43920e1b88fe93a8fd64c24 |
prelude: |\n set2 = 2.times.to_a.shuffle.to_set\n set10 = 10.times.to_a.shuffle.to_set\n set100 = 100.times.to_a.shuffle.to_set\n set1000 = 1000.times.to_a.shuffle.to_set\n set10000 = 10000.times.to_a.shuffle.to_set\n\nbenchmark:\n set2.min: set2.min\n set10.min: set10.min\n set100.min: set100.min\n set1000.min: set1000.min\n set10000.min: set10000.min\n set2.max: set2.max\n set10.max: set10.max\n set100.max: set100.max\n set1000.max: set1000.max\n set10000.max: set10000.max\n set2.minmax: set2.minmax\n set10.minmax: set10.minmax\n set100.minmax: set100.minmax\n set1000.minmax: set1000.minmax\n set10000.minmax: set10000.minmax\n\nloop_count: 10000\n | dataset_sample\yaml\ruby\enum_minmax.yml | enum_minmax.yml | YAML | 652 | 0.7 | 0 | 0 | react-lib | 900 | 2024-02-21T09:09:18.842671 | GPL-3.0 | false | 1b909c615e07ad9ce108016b5f709220 |
prelude: |\n set2 = 2.times.to_a.shuffle.to_set\n set10 = 10.times.to_a.shuffle.to_set\n set100 = 100.times.to_a.shuffle.to_set\n set1000 = 1000.times.to_a.shuffle.to_set\n set10000 = 10000.times.to_a.shuffle.to_set\n\nbenchmark:\n set2.sort_by: set2.sort_by { 0 }\n set10.sort_by: set10.sort_by { 0 }\n set100.sort_by: set100.sort_by { 0 }\n set1000.sort_by: set1000.sort_by { 0 }\n set10000.sort_by: set10000.sort_by { 0 }\n\nloop_count: 10000\n | dataset_sample\yaml\ruby\enum_sort.yml | enum_sort.yml | YAML | 442 | 0.7 | 0 | 0 | react-lib | 830 | 2024-02-21T18:29:33.045808 | MIT | false | fb2baded82197c021f5e1936485b53d7 |
prelude: |\n array_length = 2\n fixnum_array2 = array_length.times.to_a.map {rand(10000)}\n float_array2 = array_length.times.to_a.map {rand(10000.0).to_f}\n string_array2 = array_length.times.to_a.map {"r" * rand(1..10000)}\n mix_array2 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}\n all_zero_array2 =array_length.times.to_a.map {0}\n\n array_length = 10\n fixnum_array10 = array_length.times.to_a.map {rand(10000)}\n float_array10 = array_length.times.to_a.map {rand(10000.0).to_f}\n string_array10 = array_length.times.to_a.map {"r" * rand(1..10000)}\n mix_array10 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}\n all_zero_array10 =array_length.times.to_a.map {0}\n\n array_length = 1000\n fixnum_array1000 = array_length.times.to_a.map {rand(10000)}\n float_array1000 = array_length.times.to_a.map {rand(10000.0).to_f}\n string_array1000 = array_length.times.to_a.map {"r" * rand(1..10000)}\n mix_array1000 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}\n all_zero_array1000 =array_length.times.to_a.map {0}\n\n array_length = 100000\n fixnum_array100000 = array_length.times.to_a.map {rand(10000)}\n float_array100000 = array_length.times.to_a.map {rand(10000.0).to_f}\n string_array100000 = array_length.times.to_a.map {"r" * rand(1..10000)}\n mix_array100000 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}\n all_zero_array100000 =array_length.times.to_a.map {0}\n\nbenchmark:\n fixnum_array2.sort_by: fixnum_array2.sort_by {|a| a}\n float_array2.sort_by: float_array2.sort_by {|a| a}\n string_length2.sort_by: string_array2.sort_by {|a| a.length}\n mix_array2.sort_by: mix_array2.sort_by {|a| a}\n all_zero2.sort_by: all_zero_array2.sort_by{|a| a}\n\n fixnum_array10.sort_by: fixnum_array10.sort_by {|a| a}\n float_array10.sort_by: float_array10.sort_by {|a| a}\n string_length10.sort_by: string_array10.sort_by {|a| a.length}\n mix_array10.sort_by: mix_array10.sort_by {|a| a}\n all_zero10.sort_by: all_zero_array10.sort_by{|a| a}\n\n fixnum_array1000.sort_by: fixnum_array1000.sort_by {|a| a}\n float_array1000.sort_by: float_array1000.sort_by {|a| a}\n string_length1000.sort_by: string_array1000.sort_by {|a| a.length}\n mix_array1000.sort_by: mix_array1000.sort_by {|a| a}\n all_zero1000.sort_by: all_zero_array1000.sort_by{|a| a}\n\n fixnum_array100000.sort_by: fixnum_array100000.sort_by {|a| a}\n float_array100000.sort_by: float_array100000.sort_by {|a| a}\n string_length100000.sort_by: string_array100000.sort_by {|a| a.length}\n mix_array100000.sort_by: mix_array100000.sort_by {|a| a}\n all_zero100000.sort_by: all_zero_array100000.sort_by{|a| a}\n | dataset_sample\yaml\ruby\enum_sort_by.yml | enum_sort_by.yml | YAML | 2,793 | 0.7 | 0.075472 | 0 | python-kit | 245 | 2024-06-02T23:26:07.105273 | Apache-2.0 | false | 528487ab213b358a8aae3195b7d7713a |
prelude: |\n # frozen_string_literal: true\n require 'erb'\nbenchmark:\n - script: ERB::Util.html_escape("")\n loop_count: 20000000\n - script: ERB::Util.html_escape("abcde")\n loop_count: 20000000\n - script: ERB::Util.html_escape("abcd<")\n loop_count: 20000000\n - script: ERB::Util.html_escape("'&\"<>")\n loop_count: 5000000\n - prelude: long_no_escape = "abcde" * 300\n script: ERB::Util.html_escape(long_no_escape)\n loop_count: 1000000\n - prelude: long_all_escape = "'&\"<>" * 10\n script: ERB::Util.html_escape(long_all_escape)\n loop_count: 1000000\n - prelude: | # http://example.com/\n example_html = <<~HTML\n <body>\n <div>\n <h1>Example Domain</h1>\n <p>This domain is established to be used for illustrative examples in documents. You may use this\n domain in examples without prior coordination or asking for permission.</p>\n <p><a href="http://www.iana.org/domains/example">More information...</a></p>\n </div>\n </body>\n HTML\n script: ERB::Util.html_escape(example_html)\n loop_count: 1000000\n | dataset_sample\yaml\ruby\erb_escape_html.yml | erb_escape_html.yml | YAML | 1,107 | 0.95 | 0.064516 | 0.032258 | vue-tools | 488 | 2025-02-24T15:09:34.087840 | GPL-3.0 | false | 615dffd95878df47970e60765bbdd9cb |
# DO NOT change the order of features EVER\n############################################\n# name: the name to be used internally in the code\n# display_name: the name to be used in the UI\n# enabled: whether the feature is enabled by default\n# help_url: the url to the help center article\n# chatwoot_internal: whether the feature is internal to Chatwoot and should not be shown in the UI for other self hosted installations\n# deprecated: purpose of feature flag is done, no need to show it in the UI anymore\n- name: inbound_emails\n display_name: Inbound Emails\n enabled: true\n- name: channel_email\n display_name: Email Channel\n enabled: true\n help_url: https://chwt.app/hc/email\n- name: channel_facebook\n display_name: Facebook Channel\n enabled: true\n help_url: https://chwt.app/hc/fb\n- name: channel_twitter\n display_name: Twitter Channel\n enabled: true\n deprecated: true\n- name: ip_lookup\n display_name: IP Lookup\n enabled: false\n- name: disable_branding\n display_name: Disable Branding\n enabled: false\n premium: true\n- name: email_continuity_on_api_channel\n display_name: Email Continuity on API Channel\n enabled: false\n- name: help_center\n display_name: Help Center\n enabled: true\n help_url: https://chwt.app/hc/help-center\n- name: agent_bots\n display_name: Agent Bots\n enabled: true\n help_url: https://chwt.app/hc/agent-bots\n- name: macros\n display_name: Macros\n enabled: true\n- name: agent_management\n display_name: Agent Management\n enabled: true\n- name: team_management\n display_name: Team Management\n enabled: true\n help_url: https://chwt.app/hc/teams\n- name: inbox_management\n display_name: Inbox Management\n enabled: true\n- name: labels\n display_name: Labels\n enabled: true\n help_url: https://chwt.app/hc/labels\n- name: custom_attributes\n display_name: Custom Attributes\n enabled: true\n help_url: https://chwt.app/hc/custom-attributes\n- name: automations\n display_name: Automations\n enabled: true\n- name: canned_responses\n display_name: Canned Responses\n enabled: true\n help_url: https://chwt.app/hc/canned\n- name: integrations\n display_name: Integrations\n enabled: true\n help_url: https://chwt.app/hc/integrations\n- name: voice_recorder\n display_name: Voice Recorder\n enabled: true\n- name: mobile_v2\n display_name: Mobile App V2\n enabled: false\n deprecated: true\n- name: channel_website\n display_name: Website Channel\n enabled: true\n- name: campaigns\n display_name: Campaigns\n enabled: true\n help_url: https://chwt.app/hc/campaigns\n- name: reports\n display_name: Reports\n enabled: true\n help_url: https://chwt.app/hc/reports\n- name: crm\n display_name: CRM\n enabled: true\n- name: auto_resolve_conversations\n display_name: Auto Resolve Conversations\n enabled: true\n- name: custom_reply_email\n display_name: Custom Reply Email\n enabled: false\n- name: custom_reply_domain\n display_name: Custom Reply Domain\n enabled: false\n- name: audit_logs\n display_name: Audit Logs\n enabled: false\n premium: true\n- name: response_bot\n display_name: Response Bot\n enabled: false\n premium: true\n deprecated: true\n- name: message_reply_to\n display_name: Message Reply To\n enabled: false\n help_url: https://chwt.app/hc/reply-to\n deprecated: true\n- name: insert_article_in_reply\n display_name: Insert Article in Reply\n enabled: false\n deprecated: true\n- name: inbox_view\n display_name: Inbox View\n enabled: false\n chatwoot_internal: true\n- name: sla\n display_name: SLA\n enabled: false\n premium: true\n help_url: https://chwt.app/hc/sla\n- name: help_center_embedding_search\n display_name: Help Center Embedding Search\n enabled: false\n premium: true\n chatwoot_internal: true\n- name: linear_integration\n display_name: Linear Integration\n enabled: false\n- name: captain_integration\n display_name: Captain\n enabled: false\n premium: true\n- name: custom_roles\n display_name: Custom Roles\n enabled: false\n premium: true\n- name: chatwoot_v4\n display_name: Chatwoot V4\n enabled: false\n- name: report_v4\n display_name: Report V4\n enabled: true\n deprecated: true\n- name: contact_chatwoot_support_team\n display_name: Contact Chatwoot Support Team\n enabled: true\n chatwoot_internal: true\n- name: shopify_integration\n display_name: Shopify Integration\n enabled: false\n chatwoot_internal: true\n- name: search_with_gin\n display_name: Search messages with GIN\n enabled: false\n chatwoot_internal: true\n- name: channel_instagram\n display_name: Instagram Channel\n enabled: true\n | dataset_sample\yaml\ruby\features.yml | features.yml | YAML | 4,458 | 0.8 | 0.005952 | 0.047619 | python-kit | 166 | 2024-09-07T23:25:42.972018 | Apache-2.0 | false | 743ce0ea179a30a1cb1c493531dad806 |
prelude: |\n def make_link(previous)\n Fiber.new do\n while message = previous.resume\n Fiber.yield(message)\n end\n end\n end\n\n def make_chain(length = 1000, &block)\n chain = Fiber.new(&block)\n\n (length - 1).times do\n chain = make_link(chain)\n end\n\n return chain\n end\n\n message = "Hello World!"\n\n chain = make_chain do\n while true\n Fiber.yield(message)\n end\n end\nbenchmark:\n make_chain: |\n make_chain(100) do\n while true\n Fiber.yield(message)\n end\n end\n resume_chain: |\n chain.resume\nloop_count: 5000\n | dataset_sample\yaml\ruby\fiber_chain.yml | fiber_chain.yml | YAML | 581 | 0.85 | 0.138889 | 0 | awesome-app | 922 | 2024-09-08T13:27:22.150723 | Apache-2.0 | false | a239c4dd110d3ea6ffe4546c140d4b96 |
prelude: |\n th = Thread.current\n th[:key] = :val\nbenchmark:\n key?: th.key?(:key)\n []: th[:key]\n keys: th.keys\nloop_count: 1_000_000\n | dataset_sample\yaml\ruby\fiber_locals.yml | fiber_locals.yml | YAML | 137 | 0.7 | 0 | 0 | react-lib | 585 | 2023-08-01T02:08:40.934329 | GPL-3.0 | false | 08779edeeed889dd3c561e983afa7139 |
repository: jekyll\nlabels:\n - good first issue\n - help-wanted\n - first-time-only\ntemplate: .github/first-timers-issue-template.md\n | dataset_sample\yaml\ruby\first-timers.yml | first-timers.yml | YAML | 133 | 0.7 | 0 | 0 | awesome-app | 765 | 2024-05-09T04:27:47.891004 | BSD-3-Clause | false | 41e4f4ec6bfb4f452289079b29ef1871 |
prelude: |\n flo = 4.2\nbenchmark:\n to_f: |\n flo.to_f\n abs: |\n flo.abs\n magnitude: |\n flo.magnitude\n -@: |\n -flo\n zero?: |\n flo.zero?\nloop_count: 20000000\n | dataset_sample\yaml\ruby\float_methods.yml | float_methods.yml | YAML | 174 | 0.7 | 0 | 0 | react-lib | 223 | 2024-01-13T20:58:24.116902 | GPL-3.0 | false | 25df89043e4971297c17529b3005927a |
prelude: |\n flo = 4.2\nbenchmark:\n negative?: |\n flo.negative?\n positive?: |\n flo.positive?\nloop_count: 20000000\n | dataset_sample\yaml\ruby\float_neg_posi.yml | float_neg_posi.yml | YAML | 121 | 0.7 | 0 | 0 | react-lib | 928 | 2025-02-02T14:46:41.189596 | BSD-3-Clause | false | 988d17072bb5d76356fa97f8df3509c0 |
prelude: |\n floats = [*0.0.step(1.0, 0.0001)]\n\nbenchmark:\n to_s: floats.each {|f| f.to_s}\n\nloop_count: 1000\n | dataset_sample\yaml\ruby\float_to_s.yml | float_to_s.yml | YAML | 110 | 0.7 | 0 | 0 | react-lib | 435 | 2023-11-18T13:57:17.863185 | GPL-3.0 | false | d3c80f06d482e42baee53bdfaf590733 |
# These are supported funding model platforms\n\n# github: jekyll\nopen_collective: jekyll\ntidelift: rubygems/jekyll\n | dataset_sample\yaml\ruby\FUNDING.yml | FUNDING.yml | YAML | 114 | 0.8 | 0 | 0.5 | vue-tools | 772 | 2023-12-03T03:46:37.131496 | Apache-2.0 | false | c9aa66450e10c3b7e81ea86d0c61bceb |
prelude: |\n # frozen_string_literal: true\n hash = 10.times.to_h do |i|\n [i, i]\n end\n dyn_sym = "dynamic_symbol".to_sym\n binary = RubyVM::InstructionSequence.compile("# frozen_string_literal: true\n'iseq_load'").to_binary\n iseq_literal_string = RubyVM::InstructionSequence.load_from_binary(binary).eval\n\n hash[:some_symbol] = 1\n hash[dyn_sym] = 2\n hash["small"] = 3\n hash["frozen_string_literal"] = 4\n hash[iseq_literal_string] = 5\nbenchmark:\n symbol: hash[:some_symbol]\n dyn_symbol: hash[dyn_sym]\n small_lit: hash["small"]\n frozen_lit: hash["frozen_string_literal"]\n iseq_lit: hash[iseq_literal_string]\n | dataset_sample\yaml\ruby\hash_aref_str_lit.yml | hash_aref_str_lit.yml | YAML | 622 | 0.8 | 0 | 0.052632 | node-utils | 500 | 2025-05-30T20:18:36.964067 | Apache-2.0 | false | 049d9b545158ad768d557c143cfc9faa |
prelude: |\n h = Hash.new { :foo }\nbenchmark:\n default_aref: h[1]\n default_method: h.default(1)\nloop_count: 1000000\n | dataset_sample\yaml\ruby\hash_defaults.yml | hash_defaults.yml | YAML | 118 | 0.7 | 0 | 0 | react-lib | 133 | 2024-05-24T00:30:21.562124 | BSD-3-Clause | false | 2d8bc51ece16ef22da50b6a6679c0a38 |
prelude: |\n small_hash = { a: 1 }\n larger_hash = 20.times.map { |i| [('a'.ord + i).chr.to_sym, i] }.to_h\n\nbenchmark:\n dup_small: small_hash.dup\n dup_larger: larger_hash.dup\nloop_count: 10000\n | dataset_sample\yaml\ruby\hash_dup.yml | hash_dup.yml | YAML | 195 | 0.7 | 0 | 0 | python-kit | 727 | 2023-12-11T18:59:24.110311 | GPL-3.0 | false | 73c72d2719538d348648cb758dfa018a |
prelude: |\n hash1 = 1_000_000.times.to_h { [rand, true]}\n hash2 = hash1.dup\n hash2.keys[1..100_000].each { hash2.delete _1 }\n hash2.delete hash2.first[0]\n\nbenchmark:\n hash1: hash1.first\n hash2: hash2.first\n\nloop_count: 100_000\n | dataset_sample\yaml\ruby\hash_first.yml | hash_first.yml | YAML | 233 | 0.7 | 0 | 0 | python-kit | 537 | 2024-10-15T07:19:05.732526 | Apache-2.0 | false | a8fa733316b0b516b6005248f53c642b |
prelude: |\n obj = Object.new\n hash = { obj => true }\nbenchmark: hash.key?(obj)\nloop_count: 30000000\n | dataset_sample\yaml\ruby\hash_key.yml | hash_key.yml | YAML | 102 | 0.7 | 0 | 0 | python-kit | 0 | 2024-11-05T23:19:51.005093 | MIT | false | 4da3f37f2b17107caf64428bb0668551 |
prelude: |\n has_hash_with_capa = Hash.instance_method(:initialize).parameters.include?([:key, :capacity])\n strings_1k = 1_000.times.map { |i| -i.to_s.freeze }\n strings_100k = 100_000.times.map { |i| -i.to_s.freeze }\nbenchmark:\n new: Hash.new\n new_with_capa_1k: |\n h = has_hash_with_capa ? Hash.new(capacity: strings_1k.size) : {}\n strings_1k.each do |x|\n h[x] = true\n end\n new_with_capa_100k: |\n h = has_hash_with_capa ? Hash.new(capacity: strings_100k.size) : {}\n strings_100k.each do |x|\n h[x] = true\n end\n | dataset_sample\yaml\ruby\hash_new.yml | hash_new.yml | YAML | 542 | 0.7 | 0 | 0 | react-lib | 649 | 2023-11-20T09:42:53.215197 | GPL-3.0 | false | 3b779d2aa20021350d07644d325005fe |
# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks\n\n# The "main" locale.\nbase_locale: en\ndata:\n read:\n - config/locales/%{locale}.yml\n - config/locales/**/*.%{locale}.yml\n\n write:\n - ['{devise, simple_form, doorkeeper}.*', 'config/locales/\1.%{locale}.yml']\n - config/locales/%{locale}.yml\n\n yaml:\n write:\n line_width: -1\n\nsearch:\n paths:\n - app/\n - config/navigation.rb\n\n relative_roots:\n - app/controllers\n - app/helpers\n - app/mailers\n - app/views\n\n exclude:\n - app/assets/images\n - app/assets/fonts\n - app/assets/videos\n\nignore_missing:\n - 'activemodel.errors.*'\n - 'activerecord.attributes.*'\n - 'activerecord.errors.*'\n - '{pagination,doorkeeper}.*'\n - '{date,datetime,time,number}.*'\n - 'errors.messages.*'\n - 'activerecord.errors.models.doorkeeper/*'\n - 'sessions.{browsers,platforms}.*'\n - 'application_mailer.salutation'\n - 'errors.500'\n - 'auth.providers.*'\n\nignore_unused:\n - 'activemodel.errors.*'\n - 'activerecord.attributes.*'\n - 'activerecord.errors.*'\n - '{devise,pagination,doorkeeper}.*'\n - '{date,datetime,time,number}.*'\n - 'simple_form.{yes,no,recommended,not_recommended,overridden}'\n - 'simple_form.{placeholders,hints,labels}.*'\n - 'simple_form.{error_notification,required}.:'\n - 'errors.messages.*'\n - 'activerecord.errors.models.doorkeeper/*'\n - 'errors.429'\n - 'admin.accounts.roles.*'\n - 'admin.action_logs.actions.*'\n - 'admin.reports.summary.action_preambles.*'\n - 'admin.reports.summary.actions.*'\n - 'admin_mailer.new_appeal.actions.*'\n - 'statuses.attached.*'\n - 'move_handler.carry_{mutes,blocks}_over_text'\n - 'admin_mailer.*.subject'\n - 'user_mailer.*.subject'\n - 'notification_mailer.*'\n - 'imports.overwrite_preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html.*'\n - 'imports.preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html.*'\n - 'mail_subscriptions.unsubscribe.emails.*'\n - 'preferences.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use\n - 'edit_profile.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use\n\nignore_inconsistent_interpolations:\n - '*.one'\n | dataset_sample\yaml\ruby\i18n-tasks.yml | i18n-tasks.yml | YAML | 2,340 | 0.95 | 0 | 0.029851 | python-kit | 644 | 2024-04-25T11:21:58.893362 | BSD-3-Clause | false | c3df636224681f3c392c51cab7a910c7 |
I18n/RailsI18n:\n Enabled: true\n Exclude:\n - 'config/**/*'\n - 'db/**/*'\n - 'lib/**/*'\n - 'spec/**/*'\nI18n/GetText:\n Enabled: false\n\nI18n/RailsI18n/DecorateStringFormattingUsingInterpolation:\n Enabled: false\n | dataset_sample\yaml\ruby\i18n.yml | i18n.yml | YAML | 222 | 0.8 | 0 | 0 | python-kit | 97 | 2024-10-30T12:01:21.864735 | BSD-3-Clause | false | 0a8b79839dda9507ab0028d7c008ea8c |
swagger: "2.0"\ninfo:\n description: This is the API documentation for Chatwoot server.\n version: 1.0.0\n title: Chatwoot\n termsOfService: https://www.chatwoot.com/terms-of-service/\n contact:\n email: hello@chatwoot.com\n license:\n name: MIT License\n url: https://opensource.org/licenses/MIT\nhost: app.chatwoot.com\nbasePath: /\nschemes:\n - https\nproduces:\n- application/json; charset=utf-8\nconsumes:\n- application/json; charset=utf-8\nsecurityDefinitions:\n userApiKey:\n type: apiKey\n in: header\n name: api_access_token\n description: This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.\n agentBotApiKey:\n type: apiKey\n in: header\n name: api_access_token\n description: This token should be provided by system admin or obtained via rails console. This token can be used to build bot integrations and can only access limited apis.\n platformAppApiKey:\n type: apiKey\n in: header\n name: api_access_token\n description: This token can be obtained by the system admin after creating a platformApp. This token should be used to provision agent bots, accounts, users and their roles.\nsecurity:\n - userApiKey: []\n\npaths:\n $ref: ./paths/index.yml\ndefinitions:\n $ref: ./definitions/index.yml\nparameters:\n $ref: ./parameters/index.yml\n\nx-tagGroups:\n - name: Platform\n tags:\n - Accounts\n - Account Users\n - AgentBots\n - Users\n - name: Application\n tags:\n - Account AgentBots\n - Agents\n - Canned Responses\n - Contacts\n - Contact Labels\n - Conversation Assignment\n - Conversation Labels\n - Conversations\n - Custom Attributes\n - Custom Filters\n - Inboxes\n - Integrations\n - Messages\n - Profile\n - Reports\n - Teams\n - Webhooks\n - Automation Rule\n - Help Center\n - name: Client\n tags:\n - Contacts API\n - Conversations API\n - Messages API\n - name: Others\n tags:\n - CSAT Survey Page\n | dataset_sample\yaml\ruby\index.yml | index.yml | YAML | 2,176 | 0.8 | 0.012346 | 0 | awesome-app | 967 | 2025-02-17T01:39:18.316449 | MIT | false | 5f84db6e132ae8266e110d2f99991c2a |
# This file contains all the installation wide configuration which controls various settings in Chatwoot\n# This is internal config and should not be modified by the user directly in database\n# Chatwoot might override and modify these values during the upgrade process\n# Configs which can be modified by the user are available in the dashboard under appropriate UI\n#\n# name: the name of the config referenced in the code\n# value: the value of the config\n# display_title: the title of the config displayed in the dashboard UI\n# description: the description of the config displayed in the dashboard UI\n# locked: if you don't specify locked attribute in yaml, the default value will be true,\n# which means the particular config will be locked and won't be available in `super_admin/installation_configs`\n# premium: These values get overwritten unless the user is on a premium plan\n# type: The type of the config. Default is text, boolean is also supported\n\n# ------- Branding Related Config ------- #\n- name: INSTALLATION_NAME\n value: 'Chatwoot'\n display_title: 'Installation Name'\n description: 'The installation wide name that would be used in the dashboard, title etc.'\n- name: LOGO_THUMBNAIL\n value: '/brand-assets/logo_thumbnail.svg'\n display_title: 'Logo Thumbnail'\n description: 'The thumbnail that would be used for favicon (512px X 512px)'\n- name: LOGO\n value: '/brand-assets/logo.svg'\n display_title: 'Logo'\n description: 'The logo that would be used on the dashboard, login page etc.'\n- name: LOGO_DARK\n value: '/brand-assets/logo_dark.svg'\n display_title: 'Logo Dark Mode'\n description: 'The logo that would be used on the dashboard, login page etc. for dark mode'\n- name: BRAND_URL\n value: 'https://www.chatwoot.com'\n display_title: 'Brand URL'\n description: 'The URL that would be used in emails under the section “Powered By”'\n- name: WIDGET_BRAND_URL\n value: 'https://www.chatwoot.com'\n display_title: 'Widget Brand URL'\n description: 'The URL that would be used in the widget under the section “Powered By”'\n- name: BRAND_NAME\n value: 'Chatwoot'\n display_title: 'Brand Name'\n description: 'The name that would be used in emails and the widget'\n- name: TERMS_URL\n value: 'https://www.chatwoot.com/terms-of-service'\n display_title: 'Terms URL'\n description: 'The terms of service URL displayed in Signup Page'\n- name: PRIVACY_URL\n value: 'https://www.chatwoot.com/privacy-policy'\n display_title: 'Privacy URL'\n description: 'The privacy policy URL displayed in the app'\n- name: DISPLAY_MANIFEST\n value: true\n display_title: 'Chatwoot Metadata'\n description: 'Display default Chatwoot metadata like favicons and upgrade warnings'\n type: boolean\n# ------- End of Branding Related Config ------- #\n\n# ------- Signup & Account Related Config ------- #\n- name: ENABLE_ACCOUNT_SIGNUP\n display_title: 'Enable Account Signup'\n value: false\n description: 'Allow users to signup for new accounts'\n locked: false\n type: boolean\n- name: CREATE_NEW_ACCOUNT_FROM_DASHBOARD\n value: false\n description: 'Allow users to create new accounts from the dashboard'\n locked: false\n- name: HCAPTCHA_SITE_KEY\n value:\n locked: false\n- name: HCAPTCHA_SERVER_KEY\n value:\n locked: false\n- name: INSTALLATION_EVENTS_WEBHOOK_URL\n value:\n display_title: 'System events Webhook URL'\n description: 'The URL to which the system events like new accounts created will be sent'\n locked: false\n- name: DIRECT_UPLOADS_ENABLED\n type: boolean\n value: false\n description: 'Enable direct uploads to cloud storage'\n locked: false\n# ------- End of Account Related Config ------- #\n\n# ------- Email Related Config ------- #\n- name: MAILER_INBOUND_EMAIL_DOMAIN\n value:\n description: 'The domain name to be used for generating conversation continuity emails (reply+id@domain.com)'\n locked: false\n- name: MAILER_SUPPORT_EMAIL\n value:\n locked: false\n# ------- End of Email Related Config ------- #\n\n# ------- Facebook Channel Related Config ------- #\n- name: FB_APP_ID\n display_title: 'Facebook App ID'\n locked: false\n- name: FB_VERIFY_TOKEN\n display_title: 'Facebook Verify Token'\n description: 'The verify token used for Facebook Messenger Webhook'\n locked: false\n type: secret\n- name: FB_APP_SECRET\n display_title: 'Facebook App Secret'\n locked: false\n type: secret\n- name: IG_VERIFY_TOKEN\n display_title: 'Instagram Verify Token'\n description: 'The verify token used for Instagram Webhook'\n locked: false\n type: secret\n- name: FACEBOOK_API_VERSION\n display_title: 'Facebook API Version'\n description: 'Configure this if you want to use a different Facebook API version. Make sure its prefixed with `v`'\n value: 'v17.0'\n locked: false\n- name: ENABLE_MESSENGER_CHANNEL_HUMAN_AGENT\n display_title: 'Enable human agent'\n value: false\n locked: false\n description: 'Enable human agent for messenger channel for longer message back period. Needs additional app approval: https://developers.facebook.com/docs/features-reference/human-agent/'\n type: boolean\n# ------- End of Facebook Channel Related Config ------- #\n\n# MARK: Microsoft Email Channel Config\n- name: AZURE_APP_ID\n display_title: 'Azure App ID'\n description: 'The App ID that will be used to authenticate with customer Microsoft accounts. Find more details on setting up Azure here: https://chwt.app/dev/ms'\n locked: false\n- name: AZURE_APP_SECRET\n display_title: 'Azure App Secret'\n locked: false\n type: secret\n# End of Microsoft Email Channel Config\n\n# MARK: Captain Config\n- name: CAPTAIN_OPEN_AI_API_KEY\n display_title: 'OpenAI API Key'\n description: 'The API key used to authenticate requests to OpenAI services for Captain AI.'\n locked: false\n type: secret\n- name: CAPTAIN_OPEN_AI_MODEL\n display_title: 'OpenAI Model'\n description: 'The OpenAI model configured for use in Captain AI. Default: gpt-4o-mini'\n locked: false\n- name: CAPTAIN_FIRECRAWL_API_KEY\n display_title: 'FireCrawl API Key (optional)'\n description: 'The FireCrawl API key for the Captain AI service'\n locked: false\n type: secret\n- name: CAPTAIN_CLOUD_PLAN_LIMITS\n display_title: 'Captain Cloud Plan Limits'\n description: 'The limits for the Captain AI service for different plans'\n value:\n type: code\n\n# End of Captain Config\n\n# ------- Chatwoot Internal Config for Cloud ----#\n- name: CHATWOOT_INBOX_TOKEN\n value:\n display_title: 'Inbox Token'\n description: 'The Chatwoot Inbox Token for Contact Support in Cloud'\n locked: false\n type: secret\n- name: CHATWOOT_INBOX_HMAC_KEY\n value:\n display_title: 'Inbox HMAC Key'\n description: 'The Chatwoot Inbox HMAC Key for Contact Support in Cloud'\n locked: false\n type: secret\n- name: CHATWOOT_CLOUD_PLANS\n display_title: 'Cloud Plans'\n value:\n description: 'Config to store stripe plans for cloud'\n- name: CHATWOOT_CLOUD_PLAN_FEATURES\n display_title: 'Planwise Features List'\n value:\n description: 'Config to features and their associated plans'\n- name: DEPLOYMENT_ENV\n value: self-hosted\n description: 'The deployment environment of the installation, to differentiate between Chatwoot cloud and self-hosted'\n- name: ANALYTICS_TOKEN\n value:\n display_title: 'Analytics Token'\n description: 'The June.so analytics token for Chatwoot cloud'\n type: secret\n- name: CLEARBIT_API_KEY\n value:\n display_title: 'Clearbit API Key'\n description: 'This API key is used for onboarding the users, to pre-fill account data.'\n type: secret\n- name: DASHBOARD_SCRIPTS\n value:\n display_title: 'Dashboard Scripts'\n description: 'Scripts are loaded as the last item in the <body> tag'\n type: code\n- name: BLOCKED_EMAIL_DOMAINS\n value:\n display_title: 'Blocked Email Domains'\n description: 'Add a domain per line to block them from signing up, accepts Regex'\n type: code\n- name: INACTIVE_WHATSAPP_NUMBERS\n value: ''\n display_title: 'Inactive WhatsApp Numbers'\n description: 'Comma-separated list of WhatsApp numbers that should be rejected with a 422 error'\n type: code\n# ------- End of Chatwoot Internal Config for Cloud ----#\n\n# ------- Chatwoot Internal Config for Self Hosted ----#\n- name: INSTALLATION_PRICING_PLAN\n value: 'community'\n description: 'The pricing plan for the installation, retrieved from the billing API'\n- name: INSTALLATION_PRICING_PLAN_QUANTITY\n value: 0\n description: 'The number of licenses purchased for the installation, retrieved from the billing API'\n- name: CHATWOOT_SUPPORT_WEBSITE_TOKEN\n value:\n description: 'The Chatwoot website token, used to identify the Chatwoot inbox and display the "Contact Support" option on the billing page'\n type: secret\n- name: CHATWOOT_SUPPORT_SCRIPT_URL\n value:\n description: 'The Chatwoot script base URL, to display the "Contact Support" option on the billing page'\n- name: CHATWOOT_SUPPORT_IDENTIFIER_HASH\n value:\n description: 'The Chatwoot identifier hash, to validate the contact in the live chat window.'\n type: secret\n- name: ACCOUNT_SECURITY_NOTIFICATION_WEBHOOK_URL\n display_title: Webhook URL to post security analysis\n value:\n description: Used to notify Chatwoot about account abuses, potential threads (Should be a Discord Webhook URL)\n# ------- End of Chatwoot Internal Config for Self Hosted ----#\n\n## ------ Configs added for enterprise clients ------ ##\n- name: API_CHANNEL_NAME\n value:\n description: 'Custom name for the API channel'\n- name: API_CHANNEL_THUMBNAIL\n value:\n description: 'Custom thumbnail for the API channel'\n- name: LOGOUT_REDIRECT_LINK\n value: /app/login\n locked: false\n description: 'Redirect to a different link after logout'\n- name: DISABLE_USER_PROFILE_UPDATE\n value: false\n locked: false\n description: 'Disable rendering profile update page for users'\n## ------ End of Configs added for enterprise clients ------ ##\n\n## ------ Configs added for FCM v1 notifications ------ ##\n- name: FIREBASE_PROJECT_ID\n display_title: 'Firebase Project ID'\n value:\n locked: false\n description: 'Firebase project ID'\n- name: FIREBASE_CREDENTIALS\n display_title: 'Firebase Credentials'\n value:\n locked: false\n type: secret\n description: 'Contents on your firebase credentials json file'\n## ------ End of Configs added for FCM v1 notifications ------ ##\n\n## ------ Configs added for Linear ------ ##\n- name: LINEAR_CLIENT_ID\n display_title: 'Linear Client ID'\n value:\n locked: false\n description: 'Linear client ID'\n- name: LINEAR_CLIENT_SECRET\n display_title: 'Linear Client Secret'\n value:\n locked: false\n description: 'Linear client secret'\n type: secret\n## ------ End of Configs added for Linear ------ ##\n\n# ------- Shopify Integration Config ------- #\n- name: SHOPIFY_CLIENT_ID\n display_title: 'Shopify Client ID'\n description: 'The Client ID (API Key) from your Shopify Partner account'\n locked: false\n type: secret\n- name: SHOPIFY_CLIENT_SECRET\n display_title: 'Shopify Client Secret'\n description: 'The Client Secret (API Secret Key) from your Shopify Partner account'\n locked: false\n type: secret\n# ------- End of Shopify Related Config ------- #\n\n# ------- Instagram Channel Related Config ------- #\n- name: INSTAGRAM_APP_ID\n display_title: 'Instagram App ID'\n locked: false\n- name: INSTAGRAM_APP_SECRET\n display_title: 'Instagram App Secret'\n description: 'The App Secret used for Instagram authentication'\n locked: false\n type: secret\n- name: INSTAGRAM_VERIFY_TOKEN\n display_title: 'Instagram Verify Token'\n description: 'The verify token used for Instagram Webhook'\n locked: false\n type: secret\n- name: ENABLE_INSTAGRAM_CHANNEL_HUMAN_AGENT\n display_title: 'Enable human agent for instagram channel'\n value: false\n locked: false\n description: 'Enable human agent for instagram channel for longer message back period. Needs additional app approval: https://developers.facebook.com/docs/features-reference/human-agent/'\n type: boolean\n- name: INSTAGRAM_API_VERSION\n display_title: 'Instagram API Version'\n description: 'Configure this if you want to use a different Instagram API version. Make sure its prefixed with `v`'\n value: 'v22.0'\n locked: true\n# ------- End of Instagram Channel Related Config ------- #\n | dataset_sample\yaml\ruby\installation_config.yml | installation_config.yml | YAML | 12,048 | 0.8 | 0.127726 | 0.127036 | vue-tools | 145 | 2023-09-25T19:34:59.188569 | BSD-3-Clause | false | 249b5b1b8d7cea0dd28186907c7766ad |
---\ninherit_from:\n - '../.rubocop.yml'\n\nInternalAffairs:\n Enabled: true\n\n# This cop only checks for directives defined in `config/default.yml`\n# whic does not apply here.\nInternalAffairs/UndefinedConfig:\n Enabled: false\n | dataset_sample\yaml\ruby\internal_affairs.yml | internal_affairs.yml | YAML | 223 | 0.8 | 0.090909 | 0.222222 | react-lib | 554 | 2025-03-14T02:45:09.251146 | GPL-3.0 | false | b71931f263e38322515bdd45a3fe411b |
prelude: |\n require 'irb/color'\n code = <<~'CODE'\n def self.foo # bar\n :"erb #{ERB.new("<%= self %>", trim_mode: ?-).result}"\n end\n CODE\nbenchmark:\n irb_color_complete: |\n IRB::Color.colorize_code(code, complete: true)\n irb_color_incomplete: |\n IRB::Color.colorize_code(code, complete: false)\nloop_count: 2000000\n | dataset_sample\yaml\ruby\irb_color.yml | irb_color.yml | YAML | 335 | 0.95 | 0.076923 | 0 | react-lib | 614 | 2023-09-08T08:31:48.365412 | Apache-2.0 | false | 78245f5e95899f848cff52b2ec532883 |
prelude: |\n # frozen_string_literal: true\n require 'rbconfig'\n irb_f = [File.join(File.dirname(RbConfig.ruby), 'irb'), '-f']\nbenchmark:\n irb_exec: |\n IO.popen(irb_f, 'w') do |io|\n io.write('exit')\n end\nloop_count: 30\n | dataset_sample\yaml\ruby\irb_exec.yml | irb_exec.yml | YAML | 232 | 0.95 | 0 | 0.1 | node-utils | 231 | 2024-03-03T21:47:00.467616 | Apache-2.0 | false | 1c49a1a0122d2ce87710547b164b807b |
prelude: |\n symbol = RubyVM::InstructionSequence.compile(":foo; :bar; :baz; :egg; :spam").to_binary\n\n define_method = RubyVM::InstructionSequence.compile(%{\n def foo; end\n def bar; end\n def baz; end\n def egg; end\n def spam; end\n }).to_binary\n\n all = RubyVM::InstructionSequence.compile(%{\n module Foo; def foo; :foo; end; end\n module Bar; def bar; :bar; end; end\n module Baz; def baz; :baz; end; end\n class Egg; def egg; :egg; end; end\n class Spaml; def spam; :spam; end; end\n }).to_binary\n\nbenchmark:\n symbol: RubyVM::InstructionSequence.load_from_binary(symbol)\n define_method: RubyVM::InstructionSequence.load_from_binary(define_method)\n all: RubyVM::InstructionSequence.load_from_binary(all)\n\nloop_count: 100_000\n | dataset_sample\yaml\ruby\iseq_load_from_binary.yml | iseq_load_from_binary.yml | YAML | 755 | 0.85 | 0.48 | 0 | node-utils | 656 | 2024-12-19T17:27:39.561297 | BSD-3-Clause | false | d20792f3bd831729e9c5c7f25e91c14f |
prelude: |\n class Embedded\n def initialize\n @a = 1\n @b = 1\n @c = 1\n end\n end\n\n class Extended\n def initialize\n @a = 1\n @b = 1\n @c = 1\n @d = 1\n @e = 1\n @f = 1\n end\n end\nbenchmark:\n embedded: Embedded.new\n extended: Extended.new\nloop_count: 20_000_000\n | dataset_sample\yaml\ruby\ivar_extend.yml | ivar_extend.yml | YAML | 313 | 0.85 | 0.173913 | 0 | node-utils | 318 | 2023-10-24T14:57:29.276787 | MIT | false | f571e915fb57eb213e66f659bef1435c |
prelude: "object = Object.new"\nbenchmark:\n clone: "object.clone"\n clone_true: "object.clone(freeze: true)"\n clone_false: "object.clone(freeze: false)"\nloop_count: 10000\n | dataset_sample\yaml\ruby\kernel_clone.yml | kernel_clone.yml | YAML | 172 | 0.7 | 0 | 0 | react-lib | 31 | 2024-10-07T15:37:43.835962 | MIT | false | fca0f7c2ce818287f4e4f4314e0cf340 |
benchmark:\n float: "Float(42)"\n float_true: "Float(42, exception: true)"\n float_false: "Float(42, exception: false)"\nloop_count: 10000\n | dataset_sample\yaml\ruby\kernel_float.yml | kernel_float.yml | YAML | 138 | 0.7 | 0 | 0 | node-utils | 848 | 2024-07-26T04:01:26.245789 | MIT | false | bdcc2d46631ecf921966ca96a0173bf7 |
prelude: |\n obj = Object.new\n x = nil\nbenchmark:\n kernel_tap: obj.tap { |o| x = o }\nloop_count: 20000000\n | dataset_sample\yaml\ruby\kernel_tap.yml | kernel_tap.yml | YAML | 108 | 0.7 | 0 | 0 | node-utils | 2 | 2024-10-18T06:02:43.635252 | Apache-2.0 | false | 8df1ed800e49c1ce099b34a440d9be3a |
benchmark:\n kernel_then: 1.then { |i| i + 1 }\n kernel_then_enum: 1.then\n kernel_yield_self: 1.yield_self { |i| i + 1 }\n kernel_yield_self_enum: 1.yield_self\nloop_count: 20000000\n | dataset_sample\yaml\ruby\kernel_then.yml | kernel_then.yml | YAML | 182 | 0.7 | 0 | 0 | react-lib | 343 | 2025-06-22T10:43:25.984438 | MIT | false | 013fb12f946e7c4b3ee10f39175b697b |
prelude: |\n h = {a: 1}\n def kw(a: 1) a end\n def kws(**kw) kw end\nbenchmark:\n kw_to_kw: "kw(a: 1)"\n kw_splat_to_kw: "kw(**h)"\n kw_to_kw_splat: "kws(a: 1)"\n kw_splat_to_kw_splat: "kws(**h)"\n kw_and_splat_to_kw: "kw(a: 1, **h)"\n kw_splats_to_kw: "kw(**h, **h)"\n kw_and_splat_to_kw_splat: "kws(a: 1, **h)"\n kw_splats_to_kw_splat: "kws(**h, **h)"\n | dataset_sample\yaml\ruby\keyword_arguments.yml | keyword_arguments.yml | YAML | 353 | 0.85 | 0.153846 | 0 | node-utils | 214 | 2024-04-02T06:47:11.416918 | Apache-2.0 | false | 6d701bd81e8e5fb25af184a849a9f6b3 |
Documentation:\n- changed-files:\n - all-globs-to-all-files: doc/**\n\nBackport:\n- base-branch: 'ruby_3_\d'\n | dataset_sample\yaml\ruby\labeler.yml | labeler.yml | YAML | 105 | 0.8 | 0 | 0 | vue-tools | 990 | 2023-07-27T20:36:02.872452 | MIT | false | 54f51a0c26f6629d55238a3b5e1da80b |
---\nLayout/FirstHashElementIndentation:\n EnforcedStyle: consistent\n\nLayout/LineLength:\n Max: 300 # Default of 120 causes a duplicate entry in generated todo file\n | dataset_sample\yaml\ruby\layout.yml | layout.yml | YAML | 164 | 0.8 | 0 | 0 | awesome-app | 336 | 2025-05-25T17:31:20.237760 | BSD-3-Clause | false | 7a8935cbb9c0d351c79255abbd32f7cd |
skip_output:\n - meta\n - success\n\npre-commit:\n parallel: true\n skip:\n - merge\n - rebase\n commands:\n rubocop:\n glob: "*.rb"\n run: bundle exec rubocop --force-exclusion {staged_files}\n syntax_tree:\n glob: "*.{rb,rake}"\n run: bundle exec stree check Gemfile {staged_files}\n prettier:\n glob: "*.js"\n include: "app/assets/javascripts|plugins/.+?/assets/javascripts"\n run: pnpm pprettier --list-different {staged_files}\n prettier-scss:\n glob: "*.scss"\n include: "app/assets/stylesheets|plugins/.+?/assets/stylesheets"\n run: pnpm pprettier --list-different {staged_files}\n eslint:\n glob: "*.js"\n include: "app/assets/javascripts|plugins/.+?/assets/javascripts"\n run: pnpm eslint --quiet {staged_files}\n ember-template-lint:\n glob: "*.hbs"\n include: "app/assets/javascripts|plugins/.+?/assets/javascripts"\n run: pnpm ember-template-lint {staged_files}\n yaml-syntax:\n glob: "*.{yaml,yml}"\n # database.yml is an erb file not a yaml file\n exclude: "database.yml"\n run: bundle exec yaml-lint {staged_files}\n i18n-lint:\n glob: "**/{client,server}.en.yml"\n run: bundle exec ruby script/i18n_lint.rb {staged_files}\n\nfix-staged:\n parallel: false\n commands:\n prettier:\n glob: "*.js"\n include: "app/assets/javascripts|plugins/.+?/assets/javascripts"\n run: pnpm pprettier --write {staged_files}\n rubocop:\n glob: "*.rb"\n run: bundle exec rubocop --force-exclusion -A {staged_files}\n syntax_tree:\n glob: "*.{rb,rake}"\n run: bundle exec stree write Gemfile {staged_files}\n\nlints:\n parallel: true\n commands:\n rubocop:\n glob: "*.rb"\n run: bundle exec rubocop\n prettier:\n run: pnpm pprettier --list-different **/*.js\n prettier-scss:\n run: pnpm pprettier --list-different **/*.scss\n eslint:\n run: pnpm eslint -f compact --quiet --ext .js .\n ember-template-lint:\n run: pnpm ember-template-lint .\n yaml-syntax:\n glob: "*.{yaml,yml}"\n # database.yml is an erb file not a yaml file\n exclude: "database.yml"\n run: bundle exec yaml-lint {all_files}\n i18n-lint:\n glob: "**/{client,server}.en.yml"\n run: bundle exec ruby script/i18n_lint.rb {all_files}\n | dataset_sample\yaml\ruby\lefthook.yml | lefthook.yml | YAML | 2,292 | 0.8 | 0 | 0.027027 | node-utils | 952 | 2024-02-27T02:45:33.574565 | BSD-3-Clause | false | 8a933a181473ec82f7979baafc6fe832 |
available:\n ar: "العربية"\n art-nvi: "Na'vi"\n bg: "български език"\n br: "Brezhoneg"\n bs: "bosanski jezik"\n ca: "Català"\n cs: "Čeština"\n cy: "Cymraeg"\n da: "Dansk"\n de: "Deutsch"\n de_formal: "Deutsch (Sie)"\n de_moo: "Deutsch (Kuh)"\n de-CH: "Deutsch (Schwiizerdütsch)"\n el: "Ελληνικά"\n en: "English"\n en_1337: "3n6l15h (English 1337)"\n en_pirate: "English (Pirate)"\n en_shaw: "𐑦𐑙𐑤𐑦𐑖"\n en_valspeak: "English (Valley Girl)"\n eo: "Esperanto"\n es: "Castellano"\n es-AR: "Castellano - Argentina"\n es-CL: "Castellano - Chile"\n es-CO: "Castellano - Colombia"\n es-VE: "Castellano - Venezuela"\n es-MX: "Español, México"\n et: "Eesti"\n eu: "Euskara"\n fi: "Suomi"\n fil: "Filipino"\n fr: "Français"\n fy: "Frysk"\n ga: "Gaeilge"\n gd: "Gàidhlig"\n gl: "Galego"\n he: "עברית"\n hu: "magyar nyelv"\n hye: "արեւելահայերեն"\n hye-classical: "արեւելահայերէն"\n hyw: "արեւմտահայերէն"\n ia: "Interlingua"\n id: "Bahasa Indonesia"\n is: "íslenska"\n it: "Italiano"\n ja: "日本語"\n ja-KS: "日本語(関西)"\n ka: "ქართული"\n ko: "한국어"\n lt: "Lietuviškai"\n mk: "македонски"\n ml: "മലയാളം"\n ms: "بهاس ملايو"\n nb: "Norske"\n nds: "Niederdeutsch"\n nl: "Nederlands"\n nn: "Nynorsk"\n oc: "Occitan"\n pa: "ਪੰਜਾਬੀ"\n pl: "polski"\n pt-PT: "Português (Portugal)"\n pt-BR: "Português (Brasil)"\n ro: "Română"\n ru: "Русский"\n sc: "Sardu"\n si: "සිංහල"\n sk: "Slovenčina"\n sl: "Slovenščina"\n sq: "Shqip"\n sr: "српски језик"\n sv: "Svenska"\n te: "తెలుగు"\n tr: "Türkçe"\n uk: "украї́нська мо́ва"\n ur-PK: "اُردو (پاکستان)"\n vi: "Tiếng Việt"\n wo: "Wolof"\n zh-CN: "中文"\n zh-TW: "台灣中文"\n\n\nfallbacks:\n en-GB:\n - "en"\n en-US:\n - "en"\n en_shaw:\n - "en"\n - "en-GB"\n - "en-US"\n en_pirate:\n - "en"\n - "en-GB"\n - "en-US"\n en_1337:\n - "en"\n - "en-GB"\n - "en-US"\n en_valspeak:\n - "en"\n - "en-GB"\n - "en-US"\n sv:\n - "sv-SE"\n he:\n - "he-IL"\n es-AR:\n - "es"\n es-CL:\n - "es"\n es-CO:\n - "es"\n es-MX:\n - "es"\n es-VE:\n - "es"\n gl:\n - "gl-ES"\n zh:\n - "zh-CN"\n - "zh-TW"\n ur-PK:\n - "ur"\n de_formal:\n - "de"\n de_moo:\n - "de"\n de-CH:\n - "de"\n nds:\n - "de"\n art_nvi:\n - "art-nvi"\n pt-BR:\n - "pt"\n pt-PT:\n - "pt"\n oc:\n - "it"\n sc:\n - "it"\n ja-KS:\n - "ja"\n hye-classical:\n - "hye"\n hyw:\n - "hye"\n\nrtl:\n - "ar"\n - "he"\n - "ur"\n - "ur-PK"\n - "ms"\n | dataset_sample\yaml\ruby\locale_settings.yml | locale_settings.yml | YAML | 2,634 | 0.7 | 0 | 0 | node-utils | 913 | 2023-07-26T16:22:16.317589 | BSD-3-Clause | false | 5fdf1f08febb5861264957088e7ac090 |
prelude: |\n smallint_array = 1000.times.map { |x| x }\n bigint32_array = 1000.times.map { |x| x + 2**32 }\n bigint64_array = 1000.times.map { |x| x + 2**64 }\n\n smallint_dump = Marshal.dump(smallint_array)\n bigint32_dump = Marshal.dump(bigint32_array)\n bigint64_dump = Marshal.dump(bigint64_array)\nbenchmark:\n marshal_dump_integer_small: |\n Marshal.dump(smallint_array)\n marshal_dump_integer_over_32_bit: |\n Marshal.dump(bigint32_array)\n marshal_dump_integer_over_64_bit: |\n Marshal.dump(bigint64_array)\n marshal_load_integer_small: |\n Marshal.load(smallint_dump)\n marshal_load_integer_over_32_bit: |\n Marshal.load(bigint32_dump)\n marshal_load_integer_over_64_bit: |\n Marshal.load(bigint64_dump)\nloop_count: 4000\n | dataset_sample\yaml\ruby\marshal_dump_load_integer.yml | marshal_dump_load_integer.yml | YAML | 740 | 0.7 | 0 | 0 | awesome-app | 998 | 2023-10-05T20:06:49.546378 | BSD-3-Clause | false | 0d2039c21932f3e4b84954b48d185a71 |
prelude: |\n a = [nil] * 3\n b = Class.new{attr_writer :a, :b, :c}.new\n c = d = e = f = g = h = i = nil\nbenchmark:\n array2_2: "c = (a[0], a[1] = 1, 2)"\n array2_3: "c = (a[0], a[1] = 1, 2, 3)"\n array3_2: "c = (a[0], a[1], a[2] = 1, 2)"\n array3_3: "c = (a[0], a[1], a[2] = 1, 2, 3)"\n attr2_2: "c = (b.a, b.b = 1, 2)"\n attr2_3: "c = (b.a, b.b = 1, 2, 3)"\n attr3_2: "c = (b.a, b.b, b.c = 1, 2)"\n attr3_3: "c = (b.a, b.b, b.c = 1, 2, 3)"\n lvar2_2: "c = (d, e = 1, 2)"\n lvar2_3: "c = (d, e = 1, 2, 3)"\n lvar3_2: "c = (d, e, f = 1, 2)"\n lvar3_3: "c = (d, e, f = 1, 2, 3)"\n array2_2p: "(a[0], a[1] = 1, 2; nil)"\n array2_3p: "(a[0], a[1] = 1, 2, 3; nil)"\n array3_2p: "(a[0], a[1], a[2] = 1, 2; nil)"\n array3_3p: "(a[0], a[1], a[2] = 1, 2, 3; nil)"\n attr2_2p: "(b.a, b.b = 1, 2; nil)"\n attr2_3p: "(b.a, b.b = 1, 2, 3; nil)"\n attr3_2p: "(b.a, b.b, b.c = 1, 2; nil)"\n attr3_3p: "(b.a, b.b, b.c = 1, 2, 3; nil)"\n lvar2_2p: "(d, e = 1, 2; nil)"\n lvar2_3p: "(d, e = 1, 2, 3; nil)"\n lvar3_2p: "(d, e, f = 1, 2; nil)"\n lvar3_3p: "(d, e, f = 1, 2, 3; nil)"\n array2_2lv: "c = (a[0], a[1] = g, h)"\n array2_ilv: "c = (a[0], a[1] = g, h, i)"\n arrayi_2lv: "c = (a[0], a[1], a[2] = g, h)"\n arrayi_ilv: "c = (a[0], a[1], a[2] = g, h, i)"\n attr2_2lv: "c = (b.a, b.b = g, h)"\n attr2_ilv: "c = (b.a, b.b = g, h, i)"\n attri_2lv: "c = (b.a, b.b, b.c = g, h)"\n attri_ilv: "c = (b.a, b.b, b.c = g, h, i)"\n lvar2_2lv: "c = (d, e = g, h)"\n lvar2_ilv: "c = (d, e = g, h, i)"\n lvari_2lv: "c = (d, e, f = g, h)"\n lvari_ilv: "c = (d, e, f = g, h, i)"\n array2_2plv: "(a[0], a[1] = g, h; nil)"\n array2_iplv: "(a[0], a[1] = g, h, i; nil)"\n arrayi_2plv: "(a[0], a[1], a[2] = g, h; nil)"\n arrayi_iplv: "(a[0], a[1], a[2] = g, h, i; nil)"\n attr2_2plv: "(b.a, b.b = g, h; nil)"\n attr2_iplv: "(b.a, b.b = g, h, i; nil)"\n attri_2plv: "(b.a, b.b, b.c = g, h; nil)"\n attri_iplv: "(b.a, b.b, b.c = g, h, i; nil)"\n lvar2_2plv: "(d, e = g, h; nil)"\n lvar2_iplv: "(d, e = g, h, i; nil)"\n lvari_2plv: "(d, e, f = g, h; nil)"\n lvari_iplv: "(d, e, f = g, h, i; nil)"\n | dataset_sample\yaml\ruby\masgn.yml | masgn.yml | YAML | 2,060 | 0.7 | 0 | 0 | react-lib | 782 | 2025-05-04T02:16:29.971565 | MIT | false | 5b910204675edf9b0db31bdea7c7fbb9 |
---\nshared:\n experimental_features: <%= ENV.fetch('EXPERIMENTAL_FEATURES', nil) %>\n self_destruct_value: <%= ENV.fetch('SELF_DESTRUCT', nil) %>\n software_update_url: <%= ENV.fetch('UPDATE_CHECK_URL', 'https://api.joinmastodon.org/update-check') %>\n source:\n base_url: <%= ENV.fetch('SOURCE_BASE_URL', nil) %>\n repository: <%= ENV.fetch('GITHUB_REPOSITORY', 'mastodon/mastodon') %>\n tag: <%= ENV.fetch('SOURCE_TAG', nil) %>\n version:\n metadata: <%= ENV.fetch('MASTODON_VERSION_METADATA', nil) %>\n prerelease: <%= ENV.fetch('MASTODON_VERSION_PRERELEASE', nil) %>\ntest:\n experimental_features: <%= [ENV.fetch('EXPERIMENTAL_FEATURES', nil), 'testing_only'].compact.join(',') %>\n | dataset_sample\yaml\ruby\mastodon.yml | mastodon.yml | YAML | 695 | 0.8 | 0 | 0 | node-utils | 428 | 2024-11-27T16:47:19.225631 | GPL-3.0 | false | 6b298282fd198132aac0ac3fd9b91925 |
prelude: |\n named_module = Kernel\n\n module FakeName\n def self.name\n "NotMyame".freeze\n end\n end\n\n MOD_NAME = Module.instance_method(:name)\n\nbenchmark:\n fastpath: MOD_NAME.bind_call(Kernel)\n slowpath: MOD_NAME.bind_call(FakeName)\n\nloop_count: 100_000\n | dataset_sample\yaml\ruby\method_bind_call.yml | method_bind_call.yml | YAML | 267 | 0.85 | 0.0625 | 0 | python-kit | 880 | 2024-09-10T19:51:32.577336 | BSD-3-Clause | false | 9114781b34ba2132298a0a71aff32c1a |
---\nMetrics/AbcSize:\n Exclude:\n - lib/mastodon/cli/*.rb\n\nMetrics/BlockLength:\n Enabled: false\n\nMetrics/ClassLength:\n Enabled: false\n\nMetrics/CyclomaticComplexity:\n Exclude:\n - lib/mastodon/cli/*.rb\n\nMetrics/MethodLength:\n Enabled: false\n\nMetrics/ModuleLength:\n Enabled: false\n\nMetrics/ParameterLists:\n CountKeywordArgs: false\n | dataset_sample\yaml\ruby\metrics.yml | metrics.yml | YAML | 339 | 0.8 | 0 | 0 | awesome-app | 534 | 2024-07-07T13:44:54.223345 | GPL-3.0 | false | baf39551f96d153849a2e5c8cc190d25 |
# EXTENSIONS => CONTENT TYPE\ncsh: application/x-csh\nx_t: model/vnd.parasolid.transmit.text\nkpt: application/vnd.kde.kpresenter\nvst: application/vnd.visio\nksp: application/vnd.kde.kspread\nfsc: application/vnd.fsc.weblaunch\nvcs: text/x-vcalendar\nhvs: application/vnd.yamaha.hv-script\nseml: application/vnd.sealed.eml\nlzh: application/octet-stream\nmovie: video/x-sgi-movie\nwav: audio/x-wav\ntbz2: application/x-gtar\nplt: application/vnd.hp-HPGL\n3gpp: video/3gpp\neol: audio/vnd.digital-winds\nvsw: application/vnd.visio\nrtf: text/rtf\nrgb: image/x-rgb\nmidi: audio/x-midi\nsit: application/x-stuffit\nmov: video/quicktime\nkfo: application/vnd.kde.kformula\nrdf: application/rdf+xml\nwpd: application/vnd.wordperfect\nhbc: application/vnd.hbci\nogg: application/ogg\ndwf: x-drawing/dwf\npbm: image/x-portable-bitmap\ncpp: text/plain\nsmp3: audio/vnd.sealedmedia.softseal.mpeg\nhtml: text/html\nigs: model/iges\ndwg: image/vnd.dwg\nsee: application/vnd.seemail\nram: audio/x-pn-realaudio\njad: text/vnd.sun.j2me.app-descriptor\niges: model/iges\npot: application/powerpoint\nexe: application/octet-stream\nsiv: application/sieve\nwml: text/vnd.wap.wml\nhlp: text/plain\npkd: application/vnd.hbci\nice: x-conference/x-cooltalk\nustar: application/x-ustar\nvis: application/vnd.visionary\npkipath: application/pkix-pkipath\necelp4800: audio/vnd.nuera.ecelp4800\ntgz: application/x-gtar\nroff: text/troff\nltx: application/x-latex\nnim: video/vnd.nokia.interleaved-multimedia\nqcp: audio/QCELP\nai: application/postscript\nsppt: application/vnd.sealed.ppt\nigx: application/vnd.micrografx.igx\ntcl: application/x-tcl\nviv: video/vnd.vivo\ncss: text/css\nwpl: application/vnd.ms-wpl\nami: application/vnd.amiga.ami\nl16: audio/L16\nvivo: video/vnd.vivo\ndat: text/plain\nvrml: x-world/x-vrml\npqa: application/vnd.palm\nrequest: application/vnd.nervana\noprc: application/vnd.palm\nvbk: audio/vnd.nortel.vbk\npki: application/pkixcmp\nras: image/x-cmu-raster\nasc: text/plain\nkom: application/vnd.hbci\njpeg: image/jpeg\nsem: application/vnd.sealed.eml\nchrt: application/vnd.kde.kchart\ntif: image/tiff\ncil: application/vnd.ms-artgalry\nxwd: image/x-xwindowdump\ndgn: image/x-vnd.dgn\nmxu: video/vnd.mpegurl\ncsv: text/comma-separated-values\nkon: application/vnd.kde.kontour\npng: image/png\nbkm: application/vnd.nervana\nsxl: application/vnd.sealed.xls\nxfdf: application/vnd.adobe.xfdf\nsnd: audio/basic\ndl: video/dl\nsxls: application/vnd.sealed.xls\nkarbon: application/vnd.kde.karbon\nico: image/vnd.microsoft.icon\nsus: application/vnd.sus-calendar\npdb: x-chemical/x-pdb\nwif: application/watcherinfo+xml\nser: application/x-java-serialized-object\nxmt_txt: model/vnd.parasolid.transmit.text\nupa: application/vnd.hbci\npnm: image/x-portable-anymap\njar: application/x-java-archive\nqt: video/quicktime\ntsv: text/tab-separated-values\nrtx: text/richtext\nmdi: image/vnd.ms-modi\nrcprofile: application/vnd.ipunplugged.rcprofile\ngl: video/gl\nme: application/x-troff-me\nman: application/x-troff-man\ntr: text/troff\namr: audio/AMR\nwp5: application/wordperfect5.1\npdf: application/pdf\npgb: image/vnd.globalgraphics.pgb\nau: audio/basic\navi: video/x-msvideo\nqxb: application/vnd.Quark.QuarkXPress\nwp: application/wordperfect5.1\nwmlsc: application/vnd.wap.wmlscriptc\nwbxml: application/vnd.wap.wbxml\ns1a: application/vnd.sealedmedia.softseal.pdf\nsaf: application/vnd.yamaha.smaf-audio\ngtar: application/x-gtar\nZ: application/x-compressed\ncrl: application/pkix-crl\npti: application/vnd.pvi.ptid1\nrdz: application/vnd.data-vision.rdz\naif: audio/x-aiff\nflo: application/vnd.micrografx.flo\nqxd: application/vnd.Quark.QuarkXPress\nrpm: audio/x-pn-realaudio-plugin\ndjv: image/vnd.djvu\njpe: image/jpeg\nkne: application/vnd.Kinar\nlvp: audio/vnd.lucent.voice\nstml: application/vnd.sealedmedia.softseal.html\np7c: application/pkcs7-mime\ndms: application/octet-stream\ns1e: application/vnd.sealed.xls\nsdf: application/vnd.Kinar\nsc: application/vnd.ibm.secure-container\njnlp: application/x-java-jnlp-file\ndvi: application/x-dvi\nsmov: video/vnd.sealedmedia.softseal.mov\njisp: application/vnd.jisp\naifc: audio/x-aiff\nlatex: application/x-latex\ncc: text/plain\ns1g: image/vnd.sealedmedia.softseal.gif\nwv: application/vnd.wv.csp+wbxml\nmseq: application/vnd.mseq\njpg: image/jpeg\nmmf: application/vnd.smaf\nxmt_bin: model/vnd.parasolid.transmit.binary\ns1h: application/vnd.sealedmedia.softseal.html\nmpc: application/vnd.mophun.certificate\nhdf: application/x-hdf\nstk: application/hyperstudio\ntxd: application/vnd.genomatix.tuxedo\nent: application/vnd.nervana\nxml: text/xml\naiff: audio/x-aiff\nsh: application/x-sh\nmpe: video/mpeg\ns1j: image/vnd.sealedmedia.softseal.jpg\npsid: audio/prs.sid\nmpga: audio/mpeg\npgm: image/x-portable-graymap\nsi: text/vnd.wap.si\nstm: application/vnd.sealedmedia.softseal.html\nlbd: application/vnd.llamagraphics.life-balance.desktop\nflw: application/vnd.kde.kivio\nmpg: video/mpeg\nc: text/plain\nsgi: image/vnd.sealedmedia.softseal.gif\nzip: application/zip\necelp7470: audio/vnd.nuera.ecelp7470\nlbe: application/vnd.llamagraphics.life-balance.exchange+xml\nqxl: application/vnd.Quark.QuarkXPress\np10: application/pkcs10\nbpd: application/vnd.hbci\nief: image/ief\ngz: application/x-gzip\ndoc: application/word\nefif: application/vnd.picsel\njpm: image/jpm\nhpgl: application/vnd.hp-HPGL\ns1m: audio/vnd.sealedmedia.softseal.mpeg\nxhtml: application/xhtml+xml\nxpm: image/x-xpixmap\nms: application/x-troff-ms\nbcpio: application/x-bcpio\nsl: text/vnd.wap.sl\nwrl: x-world/x-vrml\ns1n: image/vnd.sealed.png\nirm: application/vnd.ibm.rights-management\npgp: application/octet-stream\nentity: application/vnd.nervana\nmcd: application/vnd.mcd\necelp9600: audio/vnd.nuera.ecelp9600\nkwd: application/vnd.kde.kword\ngif: image/gif\nsdo: application/vnd.sealed.doc\ncer: application/pkix-cert\nm4u: video/vnd.mpegurl\nrst: text/prs.fallenstein.rst\nhtm: text/html\nmxmf: audio/vnd.nokia.mobile-xmf\npsb: application/vnd.3gpp.pic-bw-small\nknp: application/vnd.Kinar\ncab: application/vnd.ms-cab-compressed\nmj2: video/MJ2\nsgm: text/sgml\nwbmp: image/vnd.wap.wbmp\np7m: application/pkcs7-mime\nspng: image/vnd.sealed.png\nlha: application/octet-stream\ns1p: application/vnd.sealed.ppt\ntexi: application/x-texinfo\ns1q: video/vnd.sealedmedia.softseal.mov\ntroff: text/troff\nh: text/plain\nshtml: text/html\nmsh: model/mesh\nirp: application/vnd.irepository.package+xml\nrct: application/prs.nprend\nsmht: application/vnd.sealed.mht\ns11: video/vnd.sealed.mpeg1\nhtke: application/vnd.kenameaapp\nps: application/postscript\nmpm: application/vnd.blueice.multipass\ndfac: application/vnd.dreamfactory\npvb: application/vnd.3gpp.pic-bw-var\nlrm: application/vnd.ms-lrm\nsmh: application/vnd.sealed.mht\nmpn: application/vnd.mophun.application\nspd: application/vnd.sealedmedia.softseal.pdf\ntiff: image/tiff\njp2: image/jp2\nrpss: application/vnd.nokia.radio-presets\nqxt: application/vnd.Quark.QuarkXPress\nwmlc: application/vnd.wap.wmlc\nrpst: application/vnd.nokia.radio-preset\netx: text/x-setext\nbmp: image/bmp\ns14: video/vnd.sealed.mpeg4\n\"123\": application/vnd.lotus-1-2-3\nmpp: application/vnd.ms-project\nspf: application/vnd.yamaha.smaf-phrase\nkar: audio/x-midi\nmid: audio/x-midi\n3gp: video/3gpp\n3g2: video/3gpp2\nhqx: application/mac-binhex40\np7s: application/pkcs7-signature\nppm: image/x-portable-pixmap\npspimage: image/x-paintshoppro\ncdf: application/netcdf\ntexinfo: application/x-texinfo\nsjp: image/vnd.sealedmedia.softseal.jpg\nwbs: application/vnd.criticaltools.wbs+xml\nemm: application/vnd.ibm.electronic-media\ns1w: application/vnd.sealed.doc\nra: audio/x-realaudio\njpx: image/jpx\nevc: audio/EVRC\nmif: application/x-mif\nqwd: application/vnd.Quark.QuarkXPress\nmp2: video/mpeg\nspdf: application/vnd.sealedmedia.softseal.pdf\ntbz: application/x-gtar\ntxt: text/plain\nx_b: model/vnd.parasolid.transmit.binary\nmp3: audio/mpeg\nclass: application/x-java-vm\nsmo: video/vnd.sealedmedia.softseal.mov\nmp4: video/vnd.objectvideo\nm4v: video/x-m4v \nhtx: text/html\nhbci: application/vnd.hbci\ntex: application/x-tex\nvsc: application/vnd.vidsoft.vidconference\nwqd: application/vnd.wqd\nmfm: application/vnd.mfmp\nsgml: text/sgml\nsmp: audio/vnd.sealedmedia.softseal.mpeg\ncurl: application/vnd.curl\ncw: application/prs.cww\ndjvu: image/vnd.djvu\ntga: image/targa\nvsd: application/vnd.visio\nt: text/troff\nwtb: application/vnd.webturbo\nspn: image/vnd.sealed.png\nplb: application/vnd.3gpp.pic-bw-large\npps: application/powerpoint\nyaml: text/x-yaml\npsp: image/x-paintshoppro\nmjp2: video/MJ2\nsms: application/vnd.3gpp.sms\nhvd: application/vnd.yamaha.hv-dic\nacutc: application/vnd.acucorp\nppt: application/powerpoint\nles: application/vnd.hhe.lesson-player\nvcf: text/x-vcard\nsjpg: image/vnd.sealedmedia.softseal.jpg\nkwt: application/vnd.kde.kword\nsic: application/vnd.wap.sic\nspp: application/vnd.sealed.ppt\ncmc: application/vnd.cosmocaller\ndot: application/word\nsv4cpio: application/x-sv4cpio\ncpio: application/x-cpio\nsswf: video/vnd.sealed.swf\nsilo: model/mesh\nsid: audio/prs.sid\nyml: text/x-yaml\nsmv: audio/SMV\neps: application/postscript\nptid: application/vnd.pvi.ptid1\nwks: application/vnd.lotus-1-2-3\nz: application/x-compressed\nhpp: text/plain\nhtmlx: text/html\nani: application/octet-stream\nsig: application/pgp-signature\nslc: application/vnd.wap.slc\nrm: audio/x-pn-realaudio\nsmpg: video/vnd.sealed.mpeg4\nwmls: text/vnd.wap.wmlscript\nbin: application/x-mac\nmesh: model/mesh\natc: application/vnd.acucorp\npfr: application/font-tdpfr\nplj: audio/vnd.everad.plj\nrnd: application/prs.nprend\nxls: application/excel\ntar: application/x-tar\nmp3g: video/mpeg\nsgif: image/vnd.sealedmedia.softseal.gif\noda: application/oda\nsdoc: application/vnd.sealed.doc\nkia: application/vnd.kidspiration\nprc: application/vnd.palm\nreq: application/vnd.nervana\nxyz: x-chemical/x-xyz\nsoc: application/sgml-open-catalog\nxlt: application/excel\nawb: audio/AMR-WB\nsusp: application/vnd.sus-calendar\nxbm: image/x-xbm\nccc: text/vnd.net2phone.commcenter.command\nhh: text/plain\nqwt: application/vnd.Quark.QuarkXPress\nshar: application/x-shar\nssw: video/vnd.sealed.swf\nxul: application/vnd.mozilla.xul+xml\nkcm: application/vnd.nervana\nkpr: application/vnd.kde.kpresenter\ncdy: application/vnd.cinderella\nnc: application/netcdf\nsrc: application/x-wais-source\nsv4crc: application/x-sv4crc\ndtd: text/xml\nhvp: application/vnd.yamaha.hv-voice\ncww: application/prs.cww\nvss: application/vnd.visio\nrb: application/x-ruby\nlog: text/plain\nswf: application/x-shockwave-flash\nflv: video/x-flv\nasf: video/x-ms-asf\nasx: video/x-ms-asf\nwma: audio/x-ms-wma\nwax: audio/x-ms-wax\nwmv: audio/x-ms-wmv\nwvx: video/x-ms-wvx\nwm: video/x-ms-wm\nwmx: video/x-ms-wmx\nwmz: application/x-ms-wmz\nwmd: application/x-ms-wmd\nm3u: audio/x-mpequrl\nrdp: application/rdp\npcap: application/vnd.tcpdump.pcap\ntorrent: application/x-bittorrent\nxlb: application/excel\ncue: application/x-cue\n | dataset_sample\yaml\ruby\mime.yml | mime.yml | YAML | 10,628 | 0.8 | 0.002577 | 0.002577 | python-kit | 599 | 2024-03-07T08:31:51.352640 | Apache-2.0 | false | ff52668a3c4caf4c5cb9c4f94f697240 |
prelude: |\n class SimpleClass; end\n class MediumClass\n 10.times { include Module.new }\n end\n class LargeClass\n 100.times { include Module.new }\n end\n class HugeClass\n 300.times { include Module.new }\n end\n SimpleObj = SimpleClass.new\n MediumObj = MediumClass.new\n LargeObj = LargeClass.new\n HugeObj = HugeClass.new\nbenchmark:\n simple_class_eqq_simple_obj: |\n SimpleClass === SimpleObj\n medium_class_eqq_simple_obj: |\n MediumClass === SimpleObj\n simple_class_eqq_medium_obj: |\n SimpleClass === MediumObj\n simple_class_eqq_large_obj: |\n SimpleClass === LargeObj\n simple_class_eqq_huge_obj: |\n SimpleClass === HugeObj\nloop_count: 20000000\n | dataset_sample\yaml\ruby\module_eqq.yml | module_eqq.yml | YAML | 676 | 0.85 | 0.148148 | 0 | python-kit | 645 | 2025-03-30T03:08:19.050769 | MIT | false | f4dc64708499d35ad704f1a2a6671c02 |
#\n# This file configures the New Relic Agent. New Relic monitors Ruby, Java,\n# .NET, PHP, Python, Node, and Go applications with deep visibility and low\n# overhead. For more information, visit www.newrelic.com.\n#\n#\n# For full documentation of agent configuration options, please refer to\n# https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration\n\ncommon: &default_settings\n # Required license key associated with your New Relic account.\n license_key: <%= ENV['NEW_RELIC_LICENSE_KEY'] %>\n\n # Your application name. Renaming here affects where data displays in New\n # Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications\n app_name: <%= ENV.fetch('NEW_RELIC_APP_NAME', 'Chatwoot') %>\n\n distributed_tracing:\n enabled: true\n\n # To disable the agent regardless of other settings, uncomment the following:\n agent_enabled: <%= ENV['NEW_RELIC_LICENSE_KEY'].present? && ENV.fetch('NEW_RELIC_AGENT_ENABLED', true) %>\n\n # Logging level for log/newrelic_agent.log\n log_level: <%= ENV.fetch('NEW_RELIC_LOG_LEVEL', 'info') %>\n\n application_logging:\n # If `true`, all logging-related features for the agent can be enabled or disabled\n # independently. If `false`, all logging-related features are disabled.\n enabled: <%= ENV.fetch('NEW_RELIC_APPLICATION_LOGGING_ENABLED', false) %>\n forwarding:\n # If `true`, the agent captures log records emitted by this application\n enabled: <%= ENV.fetch('NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED', true) == "false" ? false : true %>\n # Defines the maximum number of log records to buffer in memory at a time.\n max_samples_stored: 30000\n metrics:\n # If `true`, the agent captures metrics related to logging for this application.\n enabled: true\n local_decorating:\n # If `true`, the agent decorates logs with metadata to link to entities, hosts, traces, and spans.\n # This requires a log forwarder to send your log files to New Relic.\n # This should not be used when forwarding is enabled.\n enabled: <%= ENV.fetch('NEW_RELIC_APPLICATION_LOGGING_DECORATING_ENABLED', false) %>\n\n\n# Environment-specific settings are in this section.\n# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.\n# If your application has other named environments, configure them here.\ndevelopment:\n <<: *default_settings\n app_name: <%= ENV.fetch('NEW_RELIC_APP_NAME', 'Chatwoot') %> (Development)\n\ntest:\n <<: *default_settings\n # It doesn't make sense to report to New Relic from automated test runs.\n monitor_mode: false\n\nstaging:\n <<: *default_settings\n app_name: <%= ENV.fetch('NEW_RELIC_APP_NAME', 'Chatwoot') %> (Staging)\n\nproduction:\n <<: *default_settings\n | dataset_sample\yaml\ruby\newrelic.yml | newrelic.yml | YAML | 2,791 | 0.95 | 0.047619 | 0.480769 | node-utils | 642 | 2025-01-18T08:57:41.164475 | Apache-2.0 | false | defdf93b75d4c65d99f88527540dd58d |
prelude: |\n def a = nil\nbenchmark:\n to_i: |\n nil.to_i\n to_f: |\n nil.to_f\n splat: |\n a(*nil)\nloop_count: 100000\n | dataset_sample\yaml\ruby\nilclass.yml | nilclass.yml | YAML | 124 | 0.85 | 0.1 | 0 | python-kit | 421 | 2025-05-27T19:42:44.004977 | Apache-2.0 | false | 2baae6ac2b89fce24a3d6e5a9c9a1a02 |
prelude: |\n class Niller; def nil?; true; end; end\n xnil, notnil = nil, Object.new\n niller = Niller.new\nbenchmark:\n - xnil.nil?\n - notnil.nil?\n - niller.nil?\nloop_count: 10000000\n | dataset_sample\yaml\ruby\nil_p.yml | nil_p.yml | YAML | 185 | 0.85 | 0.222222 | 0 | awesome-app | 696 | 2025-06-17T02:02:59.282115 | GPL-3.0 | false | b053927bea7167a091162dc9961ef8e5 |
# Configuration for probot-no-response - https://github.com/probot/no-response\n\n# Number of days of inactivity before an Issue is closed for lack of response\ndaysUntilClose: 14\n# Label requiring a response\nresponseRequiredLabel: more-information-needed\n# Comment to post when closing an Issue for lack of response. Set to `false` to disable\ncloseComment: >\n This issue has been automatically closed because there has been no follow-up\n response from the original author. We currently don't have enough\n information in order to take action. Please reach out if you have any additional\n information that will help us move this issue forward.\n | dataset_sample\yaml\ruby\no-response.yml | no-response.yml | YAML | 644 | 0.8 | 0.333333 | 0.363636 | vue-tools | 618 | 2025-03-18T21:59:17.672026 | BSD-3-Clause | false | 8ec40bc7fabf5f76a9bc97f7d0494bf7 |
prelude: |\n int = 42\n flo = 4.2\nbenchmark:\n real?: |\n int.real?\n integer?: |\n flo.integer?\n finite?: |\n int.finite?\n infinite?: |\n int.infinite?\n integer_real: |\n int.real\n float_real: |\n flo.real\n integr_imag: |\n int.imag\n float_imag: |\n flo.imag\n integer_conj: |\n int.conj\n float_conj: |\n flo.conj\n integer_numerator: |\n int.numerator\n integer_denominator: |\n int.denominator\nloop_count: 20000000\n | dataset_sample\yaml\ruby\numeric_methods.yml | numeric_methods.yml | YAML | 449 | 0.7 | 0 | 0 | awesome-app | 40 | 2024-05-28T19:54:52.478909 | BSD-3-Clause | false | 634ba4bf319c0ab502d4b791d787e7ba |
benchmark:\n - 0.zero?\n - 1.zero?\n - 0r.zero?\n - 1r.zero?\n - 0i.zero?\n - 1i.zero?\nloop_count: 50000000\n | dataset_sample\yaml\ruby\num_zero_p.yml | num_zero_p.yml | YAML | 108 | 0.7 | 0 | 0 | awesome-app | 371 | 2025-06-09T10:07:38.516165 | BSD-3-Clause | false | 7f3662b08151013896c551df382291bd |
prelude: |\n class Eight\n 8.times { include(Module.new) }\n end\n class ThirtyTwo\n 32.times { include(Module.new) }\n end\n class SixtyFour\n 64.times { include(Module.new) }\n end\n class OneTwentyEight\n 128.times { include(Module.new) }\n end\n class OnePositional\n def initialize a; end\n end\n class TwoPositional\n def initialize a, b; end\n end\n class ThreePositional\n def initialize a, b, c; end\n end\n class FourPositional\n def initialize a, b, c, d; end\n end\n class KWArg\n def initialize a:, b:, c:, d:\n end\n end\n class Mixed\n def initialize a, b, c:, d:\n end\n end\n # Disable GC to see raw throughput:\n GC.disable\nbenchmark:\n allocate_8_deep: Eight.new\n allocate_32_deep: ThirtyTwo.new\n allocate_64_deep: SixtyFour.new\n allocate_128_deep: OneTwentyEight.new\n allocate_1_positional_params: OnePositional.new(1)\n allocate_2_positional_params: TwoPositional.new(1, 2)\n allocate_3_positional_params: ThreePositional.new(1, 2, 3)\n allocate_4_positional_params: FourPositional.new(1, 2, 3, 4)\n allocate_kwarg_params: "KWArg.new(a: 1, b: 2, c: 3, d: 4)"\n allocate_mixed_params: "Mixed.new(1, 2, c: 3, d: 4)"\n allocate_no_params: "Object.new"\nloop_count: 100000\n | dataset_sample\yaml\ruby\object_allocate.yml | object_allocate.yml | YAML | 1,217 | 0.95 | 0.333333 | 0.020833 | awesome-app | 696 | 2025-05-14T09:10:15.380557 | BSD-3-Clause | false | 9210f95b076cc502734f963d5b5b0aef |
prelude: |\n require 'objspace'\n require 'tempfile'\n $objs = 1_000.times.map { Object.new }\n $strings = 1_000.times.map { |i| "string #{i}" }\n $file = Tempfile.new('heap')\n $dev_null = File.open(File::NULL, 'w+')\n\nbenchmark:\n dump_all_string: "ObjectSpace.dump_all(output: :string)"\n dump_all_file: "ObjectSpace.dump_all(output: $file)"\n dump_all_dev_null: "ObjectSpace.dump_all(output: $dev_null)"\nloop_count: 1\n | dataset_sample\yaml\ruby\objspace_dump_all.yml | objspace_dump_all.yml | YAML | 421 | 0.95 | 0 | 0 | python-kit | 532 | 2023-11-18T06:11:24.182381 | BSD-3-Clause | false | 10dd1c43b94e1e867314cca573e3d49d |
openapi: 3.0.1\n# We start by defining the specification version, the title, description, and version number. When a query is run in ChatGPT, it will look at the description that is defined in the info section to determine if the plugin is relevant for the user query.\ninfo:\n title: DEV Community\n description: Recommends resources like articles or users to a user using ChatGP.\n version: 'v1'\nservers:\n - url: https://dev.to\npaths:\n /api/articles/search:\n get:\n operationId: getArticles\n summary: Get a list of filtered articles\n parameters:\n - in: "query"\n name: "q"\n required: false\n description: "Accepts keywords to use as a search query."\n schema:\n type: "string"\n - in: "query"\n name: "page"\n required: false\n description: "Pagination Page"\n schema:\n type: "integer"\n format: "int32"\n minimum: 0\n default: 0\n - in: "query"\n name: "per_page"\n required: false\n description: "Page size (the number of items to return per page)."\n schema:\n type: "integer"\n format: "int32"\n minimum: 1\n maximum: 100\n default: 60\n - in: "query"\n name: "top"\n required: false\n description: "Returns the most popular articles in the last N days. 'top' indicates the number of days since publication of the articles returned. This param can be used in conjuction with q or tag."\n schema:\n type: "string"\n responses:\n "200":\n description: OK\n content:\n application/vnd.forem.api-v1+json:\n schema:\n $ref: '#/components/schemas/getArticlesResponse'\ncomponents:\n schemas:\n getArticlesResponse:\n description: "Representation of an article returned in a list"\n type: "object"\n properties:\n type_of: { type: "string" }\n id: { type: "integer", format: "int32" }\n title: { type: "string", description: "The article title" }\n description: { type: "string", description: "A description of the article" }\n cover_image: { type: "string", format: "url", nullable: true }\n readable_publish_date: { type: "string" }\n social_image: { type: "string", format: "url" }\n tag_list:\n type: "array"\n description: "An array representation of the tags that are associated with an article"\n items:\n type: "string"\n tags: { type: "string", description: "An array representation of the tags that are associated with an article" }\n slug: { type: "string" }\n path: { description: "A relative path of the article.", type: "string", format: "path" }\n url: { type: "string", format: "url", description: "The url of the article. Can be used to link to the article." }\n body_markdown: {type: "string", description: "The body of the article" }\n canonical_url: { type: "string", format: "url" }\n positive_reactions_count: { type: "integer", format: "int32" }\n public_reactions_count: { type: "integer", format: "int32" }\n created_at: { type: "string", format: "date-time" }\n edited_at: { type: "string", format: "date-time", nullable: true }\n crossposted_at: { type: "string", format: "date-time", nullable: true }\n published_at: { type: "string", format: "date-time" }\n last_comment_at: { type: "string", format: "date-time" }\n published_timestamp: { description: "Crossposting or published date time", type: "string",\n format: "date-time" }\n reading_time_minutes: { description: "Reading time, in minutes", type: "integer", format: "int32" }\n user:\n $ref: "#/components/schemas/SharedUser"\n organization:\n $ref: "#/components/schemas/SharedOrganization"\n required: ["type_of", "id", "title", "description", "cover_image", "readable_publish_date", "social_image", "tag_list", "tags", "slug", "path", "url", "canonical_url", "comments_count", "positive_reactions_count", "public_reactions_count", "created_at", "edited_at", "crossposted_at", "published_at", "last_comment_at", "published_timestamp", "user", "reading_time_minutes"]\n SharedUser:\n description: "The author"\n type: "object"\n properties:\n name: { type: "string" }\n username: { type: "string" }\n twitter_username: { type: "string", nullable: true }\n github_username: { type: "string", nullable: true }\n website_url: { type: "string", format: "url", nullable: true }\n profile_image: { description: "Profile image (640x640)", type: "string" }\n profile_image_90: { description: "Profile image (90x90)", type: "string" }\n SharedOrganization:\n description: "The organization the resource belongs to"\n type: "object"\n properties:\n name: { type: "string" }\n username: { type: "string" }\n slug: { type: "string" }\n profile_image: { description: "Profile image (640x640)", type: "string", format: "url" }\n profile_image_90: { description: "Profile image (90x90)", type: "string", format: "url" }\n\n | dataset_sample\yaml\ruby\openapi.yml | openapi.yml | YAML | 5,284 | 0.95 | 0.017857 | 0.009009 | python-kit | 271 | 2024-07-12T17:21:04.821884 | GPL-3.0 | false | 471648fa0f6ebfe856bf0c36cad7514c |
databases:\n primary:\n # Database URL (defaults to app database)\n # url: <%= ENV["DATABASE_URL"] %>\n\n # Add more databases\n # other:\n # url: <%= ENV["OTHER_DATABASE_URL"] %>\n\n# Minimum time for long running queries\n# long_running_query_sec: 60\n\n# Minimum average time for slow queries\n# slow_query_ms: 20\n\n# Minimum calls for slow queries\n# slow_query_calls: 100\n\n# Minimum connections for high connections warning\n# total_connections_threshold: 500\n\n# Statement timeout for explain\n# explain_timeout_sec: 10\n\n# Time zone (defaults to app time zone)\n# time_zone: "Pacific Time (US & Canada)"\n\n# Basic authentication\n# username: admin\n# password: secret\n\n# Stats database URL (defaults to app database)\n# stats_database_url: <%= ENV["PGHERO_STATS_DATABASE_URL"] %>\n\n# AWS configuration (defaults to app AWS config)\n# also need aws_db_instance_identifier with each database\n# aws_access_key_id: ...\n# aws_secret_access_key: ...\n# aws_region: us-east-1\n\noverride_csp: false\n | dataset_sample\yaml\ruby\pghero.yml | pghero.yml | YAML | 982 | 0.8 | 0.121951 | 0.9 | react-lib | 434 | 2024-08-16T12:12:19.616401 | BSD-3-Clause | false | b9f68cfb6196216b7cb97fc373084bb8 |
steps:\n - command: ./scripts/build_containers.sh\n label: ":hammer: Build containers!"\n key: build-containers\n plugins:\n - docker-login#v2.0.1:\n username: forem+buildkite\n password-env: QUAY_LOGIN_PASSWORD\n server: quay.io\n | dataset_sample\yaml\ruby\pipeline.containers.yml | pipeline.containers.yml | YAML | 264 | 0.8 | 0 | 0 | vue-tools | 174 | 2023-10-26T19:07:22.057853 | BSD-3-Clause | false | 6e04b291bd4d65f887f91c9d107720d4 |
prelude: |\n def call(*val)\n case val\n in [String => body]\n [200, {}, [body]]\n in [Integer => status]\n [status, {}, [""]]\n in [Integer, String] => response\n [response[0], {}, [response[1]]]\n in [Integer, Hash, String] => response\n [response[0], response[1], [response[2]]]\n end\n end\n\nbenchmark:\n first_match: call("ok")\n second_match: call(401)\n third_match: call(200, "ok")\n fourth_match: call(201, {}, "created")\n | dataset_sample\yaml\ruby\pm_array.yml | pm_array.yml | YAML | 474 | 0.85 | 0.052632 | 0 | react-lib | 353 | 2024-03-06T15:39:31.886241 | Apache-2.0 | false | 5fed7a1ffe32be54c8cdfd4734f8396b |
type: lib/benchmark_driver/runner/ractor\nprelude: |\n FLOATS = [*0.0.step(1.0, 0.001)]\nbenchmark:\n ractor_float_to_s: |\n FLOATS.each {|f| f.to_s}\nloop_count: 100\nractor: 2\n | dataset_sample\yaml\ruby\ractor_float_to_s.yml | ractor_float_to_s.yml | YAML | 176 | 0.7 | 0 | 0 | node-utils | 335 | 2024-12-11T21:34:26.555735 | GPL-3.0 | false | 1445c72af32a1798c5d7a1405a1039e2 |
type: lib/benchmark_driver/runner/ractor\nbenchmark:\n ractor_fstring_random: |\n i = 0\n str = "same".dup\n while i < 2000000\n -(i.to_s.freeze)\n i += 1\n end\n ractor_fstring_same: |\n i = 0\n str = "same".dup\n while i < 2000000\n -str\n i += 1\n end\nloop_count: 1\nractor: 4\n | dataset_sample\yaml\ruby\ractor_string_fstring.yml | ractor_string_fstring.yml | YAML | 310 | 0.7 | 0.111111 | 0 | awesome-app | 910 | 2023-11-02T04:39:57.171632 | GPL-3.0 | false | d075508814be04e9e875f606540c86e4 |
---\nRails/BulkChangeTable:\n Enabled: false # Conflicts with strong_migrations features\n\nRails/Delegate:\n Enabled: false\n\nRails/FilePath:\n EnforcedStyle: arguments\n\nRails/HttpStatus:\n EnforcedStyle: numeric\n\nRails/NegateInclude:\n Enabled: false\n\nRails/RakeEnvironment:\n Exclude: # Tasks are doing local work which do not need full env loaded\n - lib/tasks/auto_annotate_models.rake\n - lib/tasks/emojis.rake\n - lib/tasks/mastodon.rake\n - lib/tasks/repo.rake\n - lib/tasks/statistics.rake\n\nRails/SkipsModelValidations:\n Enabled: false\n | dataset_sample\yaml\ruby\rails.yml | rails.yml | YAML | 552 | 0.8 | 0 | 0 | react-lib | 997 | 2024-08-31T02:58:49.110774 | BSD-3-Clause | false | f04964852ee7f17ea4de5d525340708d |
prelude: |\n first = 2**100\n last = 2**1000\n mid = (first + last) / 2\n r = first..last\n\nbenchmark:\n first: r.bsearch { |x| x >= first }\n mid: r.bsearch { |x| x >= mid }\n last: r.bsearch { |x| x >= last }\n | dataset_sample\yaml\ruby\range_bsearch_bignum.yml | range_bsearch_bignum.yml | YAML | 210 | 0.7 | 0 | 0 | vue-tools | 770 | 2024-10-04T22:22:16.091882 | Apache-2.0 | false | 0d5c8a3730c6e23e10c482ce959e5a57 |
prelude: |\n re = (1..)\n rb = (..0)\n\nbenchmark:\n 'endless 10**0': re.bsearch { |x| x >= 1 }\n 'endless 10**1': re.bsearch { |x| x >= 10 }\n 'endless 10**2': re.bsearch { |x| x >= 100 }\n 'endless 10**3': re.bsearch { |x| x >= 1000 }\n 'endless 10**4': re.bsearch { |x| x >= 10000 }\n 'endless 10**5': re.bsearch { |x| x >= 100000 }\n 'endless 10**10': re.bsearch { |x| x >= 10000000000 }\n 'endless 10**100': re.bsearch { |x| x >= 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 }\n 'beginless -10**0': rb.bsearch { |x| x >= -1 }\n 'beginless -10**1': rb.bsearch { |x| x >= -10 }\n 'beginless -10**2': rb.bsearch { |x| x >= -100 }\n 'beginless -10**3': rb.bsearch { |x| x >= -1000 }\n 'beginless -10**4': rb.bsearch { |x| x >= -10000 }\n 'beginless -10**5': rb.bsearch { |x| x >= -100000 }\n 'beginless -10**10': rb.bsearch { |x| x >= -10000000000 }\n 'beginless -10**100': rb.bsearch { |x| x >= -10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 }\n | dataset_sample\yaml\ruby\range_bsearch_endpointless.yml | range_bsearch_endpointless.yml | YAML | 1,057 | 0.7 | 0 | 0 | node-utils | 516 | 2023-11-17T21:31:40.030089 | MIT | false | dee6eb4591eb0c588f0eccb90c4afee6 |
prelude: |\n first = 1\n last = 10000\n mid = (first + last) / 2\n r = first..last\n\nbenchmark:\n first: r.bsearch { |x| x >= first }\n mid: r.bsearch { |x| x >= mid }\n last: r.bsearch { |x| x >= last }\n | dataset_sample\yaml\ruby\range_bsearch_fixnum.yml | range_bsearch_fixnum.yml | YAML | 203 | 0.7 | 0 | 0 | vue-tools | 836 | 2024-02-12T23:38:34.842323 | Apache-2.0 | false | 82abe8ff0f8ab64729824aedbd35327b |
prelude: |\n r_1 = 1..1\n r_1k = 1..1000\n r_1m = 1..1000000\n r_str = 'a'..'z'\n\nbenchmark:\n 'int 1': r_1.count\n 'int 1K': r_1k.count\n 'int 1M': r_1m.count\n string: r_str.count\n | dataset_sample\yaml\ruby\range_count.yml | range_count.yml | YAML | 181 | 0.7 | 0 | 0 | python-kit | 483 | 2024-10-03T12:56:24.395597 | Apache-2.0 | false | f6dd3ab481d3349074a1164b738e0a1a |
benchmark:\n - (1..1_000_000).last(100)\n - (1..1_000_000).last(1000)\n - (1..1_000_000).last(10000)\n | dataset_sample\yaml\ruby\range_last.yml | range_last.yml | YAML | 101 | 0.7 | 0 | 0 | react-lib | 893 | 2025-07-03T15:37:10.053556 | BSD-3-Clause | false | 3f7b2f1046257175d6558465bffcce60 |
prelude: |\n class Range\n unless method_defined?(:overlap?)\n def overlap?(other)\n other.begin == self.begin || cover?(other.begin) || other.cover?(self.begin)\n end\n end\n end\n\nbenchmark:\n - (2..3).overlap?(1..1)\n - (2..3).overlap?(2..4)\n - (2..3).overlap?(4..5)\n - (2..3).overlap?(2..1)\n - (2..3).overlap?(0..1)\n - (2..3).overlap?(...1)\n - (2...3).overlap?(..2)\n - (2...3).overlap?(3...)\n - (2..3).overlap?('a'..'d')\n | dataset_sample\yaml\ruby\range_overlap.yml | range_overlap.yml | YAML | 449 | 0.85 | 0.105263 | 0 | vue-tools | 290 | 2023-11-11T08:37:33.820167 | GPL-3.0 | false | bcddd4a8740301c2e9ba8eca16285fc4 |
prelude: |\n rf_1 = 0..1\n rf_1k = 0..1000\n rf_1m = 0..1000000\n big = 2**1000\n rb_1 = big..big+1\n rb_1k = big..big+1000\n rb_1m = big..big+1000000\n\nbenchmark:\n "Fixnum 1": rf_1.reverse_each { _1 }\n "Fixnum 1K": rf_1k.reverse_each { _1 }\n "Fixnum 1M": rf_1m.reverse_each { _1 }\n "Bignum 1": rb_1.reverse_each { _1 }\n "Bignum 1K": rb_1k.reverse_each { _1 }\n "Bignum 1M": rb_1m.reverse_each { _1 }\n | dataset_sample\yaml\ruby\range_reverse_each.yml | range_reverse_each.yml | YAML | 405 | 0.7 | 0 | 0 | node-utils | 564 | 2024-10-27T08:27:35.423196 | BSD-3-Clause | false | 8c9611c5038e999132c180e7c5f6790a |
---\nlike:\n position: 1\n name: Like\n icon: sparkle-heart\nunicorn:\n position: 2\n name: Unicorn\n icon: multi-unicorn\nexploding_head:\n position: 3\n name: Exploding Head\n icon: exploding-head\nraised_hands:\n position: 4\n name: Raised Hands\n icon: raised-hands\nfire:\n position: 5\n name: Fire\n icon: fire\nreadinglist:\n position: 5\n icon: save\n published: false\nthumbsup:\n privileged: true\n score: 5.0\nthumbsdown:\n privileged: true\n score: -10.0\nvomit:\n privileged: true\n name: Vomit\n score: -50.0\nthinking:\n published: false\nhands:\n published: false\n | dataset_sample\yaml\ruby\reactions.yml | reactions.yml | YAML | 569 | 0.7 | 0 | 0 | awesome-app | 816 | 2023-12-26T21:54:47.296509 | MIT | false | b4ed71a5e0fff8b59f4a0c8ab58b31be |
prelude: |\n f = File\n pwd = Dir.pwd\n Dir.mkdir('b') unless f.directory?('b')\n f.write('b/a', '') unless f.file?('b/a')\n\n relative = 'b/a'\n absolute = File.join(pwd, relative)\n dir = 'b'\n file = 'a'\n\n relative_dir = 'b/c'\n absolute_dir = File.join(pwd, relative_dir)\n file_dir = 'c'\nteardown: |\n require 'fileutils'\n FileUtils.rm_rf('b')\nbenchmark:\n relative_nil: "f.realpath(relative, nil)"\n absolute_nil: "f.realpath(absolute, nil)"\n relative_relative: "f.realpath(file, dir)"\n absolute_relative: "f.realpath(absolute, dir)"\n relative_absolute: "f.realpath(relative, pwd)"\n relative_nil_dir: "f.realdirpath(relative_dir, nil)"\n absolute_nil_dir: "f.realdirpath(absolute_dir, nil)"\n relative_relative_dir: "f.realdirpath(file_dir, dir)"\n absolute_relative_dir: "f.realdirpath(absolute_dir, dir)"\n relative_absolute_dir: "f.realdirpath(relative_dir, pwd)"\n relative_nil_notexist: "f.realpath(relative_dir, nil) rescue nil"\n absolute_nil_notexist: "f.realpath(absolute_dir, nil) rescue nil"\n relative_relative_notexist: "f.realpath(file_dir, dir) rescue nil"\n absolute_relative_notexist: "f.realpath(absolute_dir, dir) rescue nil"\n relative_absolute_notexist: "f.realpath(relative_dir, pwd) rescue nil"\n | dataset_sample\yaml\ruby\realpath.yml | realpath.yml | YAML | 1,229 | 0.85 | 0 | 0 | vue-tools | 113 | 2024-03-17T08:51:05.083933 | Apache-2.0 | false | 6a239e912862bc4fadec666551eb81f9 |
prelude: |\n str = "a" * 1000\n re = Regexp.new(str)\n\nbenchmark:\n string: Regexp.new(str)\n regexp: Regexp.new(re)\n | dataset_sample\yaml\ruby\regexp_new.yml | regexp_new.yml | YAML | 116 | 0.7 | 0 | 0 | awesome-app | 805 | 2024-09-21T01:05:45.391229 | BSD-3-Clause | false | 5083a6b56cfaddb360df12bedd6cc1cf |
prelude: |\n require "fileutils"\n\n def prepare\n num_files = 10000\n\n basename = File.dirname($0)\n data_dir = File.join(basename, "bm_require.data")\n\n # skip if all of files exists\n if File.exist?(File.join(data_dir, "c#{num_files}.rb"))\n return\n end\n\n FileUtils.mkdir_p(data_dir)\n\n 1.upto(num_files) do |i|\n File.write("#{data_dir}/c#{i}.rb", "class C#{i}\n""end\n")\n end\n end\n\n prepare\nbenchmark:\n require: |\n $:.push File.join(File.dirname(__FILE__), "bm_require.data")\n\n 1.upto(10000) do |i|\n require "c#{i}"\n end\n\n $:.pop\nloop_count: 1\n | dataset_sample\yaml\ruby\require.yml | require.yml | YAML | 597 | 0.95 | 0.125 | 0.041667 | node-utils | 941 | 2025-04-30T14:06:07.068279 | MIT | false | a550f3ab8b37b662b8d6f1a640de001f |
prelude: |\n require "fileutils"\n\n def prepare\n num_files = 10000\n\n basename = File.dirname($0)\n data_dir = File.join(basename, "bm_require.data")\n\n # skip if all of files exists\n if File.exist?(File.join(data_dir, "c#{num_files}.rb"))\n return\n end\n\n FileUtils.mkdir_p(data_dir)\n\n 1.upto(num_files) do |i|\n File.write("#{data_dir}/c#{i}.rb", "class C#{i}\n""end\n")\n end\n end\n\n prepare\nbenchmark:\n require_thread: |\n $:.push File.join(File.dirname(__FILE__), "bm_require.data")\n\n i=0\n t = Thread.new do\n while true\n i = i+1 # dummy loop\n end\n end\n\n 1.upto(100) do |i|\n require "c#{i}"\n end\n\n $:.pop\n t.kill\nloop_count: 1\n | dataset_sample\yaml\ruby\require_thread.yml | require_thread.yml | YAML | 708 | 0.95 | 0.125 | 0.032258 | react-lib | 444 | 2024-01-13T05:41:52.187414 | MIT | false | 8e64474ad3247dba921bf1f2e605b18f |
moderator:\n name: Moderator\n position: 10\n permissions:\n - view_dashboard\n - view_audit_log\n - manage_users\n - manage_reports\n - manage_taxonomies\nadmin:\n name: Admin\n position: 100\n permissions:\n - view_dashboard\n - view_audit_log\n - manage_users\n - manage_user_access\n - delete_user_data\n - manage_reports\n - manage_taxonomies\n - manage_federation\n - manage_settings\n - manage_blocks\n - manage_appeals\n - manage_rules\n - manage_invites\n - manage_announcements\n - manage_custom_emojis\n - manage_webhooks\n - manage_roles\nowner:\n name: Owner\n position: 1000\n permissions:\n - administrator\n | dataset_sample\yaml\ruby\roles.yml | roles.yml | YAML | 666 | 0.7 | 0 | 0 | python-kit | 101 | 2024-10-27T03:39:43.876828 | BSD-3-Clause | false | c86da5d201df952ca3193f529e321b21 |
# Documentation\n- source: /doc/(.+?/)_index\.md/ # doc/administration/_index.md\n public: '\1' # administration/\n- source: /doc/(.+?)\.md/ # doc/administration/page.md\n public: '\1/' # administration/page/\n | dataset_sample\yaml\ruby\route-map.yml | route-map.yml | YAML | 253 | 0.8 | 0 | 0.2 | node-utils | 673 | 2024-11-10T08:31:14.080306 | GPL-3.0 | false | bf7aa4caca3c3467c8bb8b6e37499c01 |
---\nRSpec/ExampleLength:\n CountAsOne: ['array', 'heredoc', 'method_call']\n Max: 20 # Override default of 5\n\nRSpec/MultipleExpectations:\n Max: 10 # Overrides default of 1\n\nRSpec/MultipleMemoizedHelpers:\n Max: 20 # Overrides default of 5\n\nRSpec/NamedSubject:\n EnforcedStyle: named_only\n\nRSpec/NestedGroups:\n Max: 10 # Overrides default of 3\n\nRSpec/NotToNot:\n EnforcedStyle: to_not\n\nRSpec/SpecFilePathFormat:\n CustomTransform:\n ActivityPub: activitypub\n DeepL: deepl\n FetchOEmbedService: fetch_oembed_service\n OEmbedController: oembed_controller\n OStatus: ostatus\n | dataset_sample\yaml\ruby\rspec.yml | rspec.yml | YAML | 584 | 0.8 | 0 | 0 | react-lib | 21 | 2024-09-25T17:38:26.989069 | Apache-2.0 | false | 7def67f08c8f8c2db6bb3ea292a1855a |
feeds_import:\n description: "Imports feed items as articles (runs hourly on the 20th minute after the hour)"\n cron: "20 * * * *"\n class: "Feeds::ImportArticlesWorker"\nlog_worker_queue_stats:\n description: "Records Sidekiq stats in Datadog (runs every 10 minutes)"\n cron: "*/10 * * * *"\n class: "Metrics::RecordBackgroundQueueStatsWorker"\nrecord_daily_usage:\n description: "Records daily usage stats (runs daily at 11:00 UTC)"\n cron: "0 11 * * *"\n class: "Metrics::RecordDailyUsageWorker"\nrecord_daily_notifications:\n description: "Records daily notifications stats (runs daily at 11:00 UTC)"\n cron: "0 11 * * *"\n class: "Metrics::RecordDailyNotificationsWorker"\nrecord_data_counts:\n description: "Records the size of the most important tables in the database (runs hourly on the 10th minute after the hour)"\n cron: "10 * * * *"\n class: "Metrics::RecordDataCountsWorker"\ncheck_data_update_script_statuses:\n description: "Records the statuses of data update scripts (runs hourly on the 30th minute after the hour)"\n cron: "30 * * * *"\n class: "Metrics::CheckDataUpdateScriptStatuses"\naward_yearly_club_badges:\n description: "Awards 'yearly club' badges to users (runs daily at 00:00 UTC)"\n cron: "0 0 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_yearly_club\n - ""\naward_beloved_comment_badges:\n description: "Awards 'beloved comment' badges to users (runs every 12 hours on the 5th minute after the hour)"\n cron: "5 */12 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_beloved_comment\n - ""\naward_four_week_streak_badge:\n description: "Awards 'four week publishing streak' badges to users (runs every 12 hours on the 10th minute after the hour)"\n cron: "10 */12 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_four_week_streak\n - ""\naward_eight_week_streak_badge:\n description: "Awards 'eight week publishing streak' badges to users (runs every 12 hours on the 15th minute after the hour)"\n cron: "15 */12 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_eight_week_streak\n - ""\naward_sixteen_week_streak_badge:\n description: "Awards 'sixteen week publishing streak' badges to users (runs every 12 hours on the 20th minute after the hour)"\n cron: "20 */12 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_sixteen_week_streak\n - ""\naward_weekly_tag_badges:\n description: "Awards 'weekly beloved article for a tag' badges to users (runs at 11:00 UTC on Thursday)"\n cron: "0 11 * * 4"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_tag\n - ""\naward_contributor_badges_from_github:\n description: "Awards 'GitHub contributor' badges to users (runs hourly on the 20th minute after the hour)"\n cron: "20 * * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_contributor_from_github\n - ""\naward_community_wellness_badges:\n description: "Awards 'Community Wellness' badges to users (runs daily at 00:45 UTC)"\n cron: "45 0 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_community_wellness\n - ""\naward_thumbs_up_badges:\n description: "Awards Thumbs Up Milestone badge to users (runs daily at 01:00 UTC) "\n cron: "0 1 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_thumbs_up\n - ""\naward_first_post_badges:\n description: "Awards First Post badges to users (runs daily at 02:00 UTC) "\n cron: "0 2 * * *"\n class: "BadgeAchievements::BadgeAwardWorker"\n args:\n - ""\n - award_first_post\n - ""\nresave_supported_tags:\n description: "Resaves supported tags to recalculate scores (runs daily at 00:25 UTC)"\n cron: "25 0 * * *"\n class: "Tags::ResaveSupportedTagsWorker"\nexpire_old_listings:\n description: "Expires old listings (runs daily at 00:30 UTC)"\n cron: "30 0 * * *"\n class: "Listings::ExpireOldListingsWorker"\nsend_welcome_notifications:\n description: "Sends welcome notifications to new users (runs daily at 16:30 UTC)"\n cron: "0 16 * * *"\n class: "Broadcasts::SendWelcomeNotificationsWorker"\nhourly_feed_cache_bust:\n description: "Busts the edge cache of the feed (runs hourly on the hour)"\n cron: "0 * * * *"\n class: "BustCachePathWorker"\n args:\n - "/feed.xml"\ndaily_home_cache_bust:\n description: "Busts the edge cache of the homepage (runs daily at 00:00 UTC)"\n cron: "0 0 * * *"\n class: "BustCachePathWorker"\n args:\n - "/"\nsend_email_digest:\n description: "Sends the email digest to users (runs at 11:30 UTC on Wednesday, Thursday, Friday, and Saturday)"\n cron: "30 11 * * 1,2,3,4,5"\n class: "Emails::EnqueueDigestWorker"\nremove_old_notifications:\n description: "Deletes old notifications from the database (runs daily at 05:00 UTC)"\n cron: "0 5 * * *"\n class: "Notifications::RemoveOldNotificationsWorker"\nremove_old_emails:\n description: "Deletes old emails we don't need to retain from the database (runs hourly at the 18th minute after the hour)"\n cron: "18 * * * *"\n class: "Emails::RemoveOldEmailsWorker"\nsync_credits_counter_cache:\n description: "Synchronizes counter caches for credits (runs daily at 16:00 UTC)"\n cron: "0 16 * * *"\n class: "Credits::SyncCounterCache"\nget_podcast_episodes:\n description: "Fetches podcast episodes asynchronously (runs hourly on the 5th minute after the hour)"\n cron: "5 * * * *"\n class: "Podcasts::EnqueueGetEpisodesWorker"\nupdate_latest_github_repos:\n description: "Fetches the latest info about stored GitHub repositories (runs hourly, 45 min after the hour)"\n cron: "45 * * * *"\n class: "GithubRepos::UpdateLatestWorker"\npush_notifications_cleanup:\n description: "Cleans up Push Notifications from Redis (runs every 8 hours on the 20th minute after the hour)"\n cron: "20 */8 * * *"\n class: "PushNotifications::CleanupWorker"\ncapture_query_stats:\n description: "Collects Postgres query stats for PGHero (runs every 5 minutes)"\n cron: "*/5 * * * *"\n class: "CaptureQueryStatsWorker"\nnotify_about_published_articles:\n description: "Sends notifications about the new published articles (runs every minute)"\n cron: "*/5 * * * *"\n class: "Articles::PublishWorker"\nbillboard_event_rollup:\n description: "Compact rows in the display_ad_events table"\n cron: "5 3 * * *"\n class: "BillboardEventRollupWorker"\naudience_segment_refresh:\n description: "Refresh audience segmentation for all segments"\n cron: "10 3 * * *"\n class: "AudienceSegmentRefreshAllWorker"\ndrip_email_worker:\n description: "Send drip emails to users based on their registration date"\n cron: "37 * * * *" # Every hour on the 37 minute\n class: "Emails::DripEmailWorker"\n | dataset_sample\yaml\ruby\schedule.yml | schedule.yml | YAML | 6,703 | 0.95 | 0.210227 | 0 | node-utils | 877 | 2025-06-03T14:16:29.497976 | BSD-3-Clause | false | 9ef7e6e895a41e8d20697da9947ad3c6 |
common: &defaults\n name: <%= ENV.fetch('SCOUT_NAME', '') %>\n key: <%= ENV.fetch('SCOUT_KEY', '') %>\n monitor: <%= ENV['SCOUT_KEY'].present? && ENV.fetch('SCOUT_MONITOR', true) %>\n\ntest:\n monitor: <%= ENV['SCOUT_KEY'].present? && ENV.fetch('SCOUT_MONITOR', true) %>\n\nproduction:\n <<: *defaults\n | dataset_sample\yaml\ruby\scout_apm.yml | scout_apm.yml | YAML | 300 | 0.7 | 0 | 0 | python-kit | 48 | 2024-03-21T14:30:28.021779 | Apache-2.0 | false | bb0014fee98c9383e6e2d2c7b8cc77a2 |
# Be sure to restart your server when you modify this file.\n\n# Your secret key is used for verifying the integrity of signed cookies.\n# If you change this key, all old signed cookies will become invalid!\n\n# Make sure the secret is at least 30 characters and all random,\n# no regular words or you'll be exposed to dictionary attacks.\n# You can use `rails secret` to generate a secure secret key.\n\n# Make sure the secrets in this file are kept private\n# if you're sharing your code publicly.\n\ndevelopment:\n secret_key_base: a60edc976c913b19fd9fc8118936fbe1df2b07f4eecc5ad32f975e33cd4ea36b150c1ce933b681b90874a46568041629003dcbfc07238f7dca91741bcd1ec870\n\ntest:\n secret_key_base: 42dd7834039ebbea271af22635a6782ee15e519b14629c5276bfcdd4cff841e9926994784bb43a335a8f8c9739bb254ea3afe831839d4dc65654ec7516ec25f0\n\n\n# Do not keep production secrets in the repository,\n# instead read values from the environment.\nproduction:\n secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>\n\n | dataset_sample\yaml\ruby\secrets.yml | secrets.yml | YAML | 967 | 0.8 | 0.083333 | 0.625 | vue-tools | 814 | 2024-04-04T22:42:33.564772 | Apache-2.0 | false | 747d6dc05460f32f7ef10907afbbe38a |
titleOnly: true\ntypes:\n - Feature\n - Fix\n - Docs\n - Style\n - Refactor\n - Perf\n - Test\n - Build\n - Chore\n - Revert\n | dataset_sample\yaml\ruby\semantic.yml | semantic.yml | YAML | 124 | 0.7 | 0 | 0 | react-lib | 929 | 2023-09-28T05:34:13.602434 | GPL-3.0 | false | c3637cc4608c4d2500ac5d34b7924470 |
# This file contains default values, and does not need to be edited. All\n# important settings can be changed from the admin interface.\n\ndefaults: &defaults\n site_title: Mastodon\n site_short_description: ''\n site_description: ''\n site_extended_description: ''\n site_terms: ''\n site_contact_username: ''\n site_contact_email: ''\n registrations_mode: 'none'\n profile_directory: true\n closed_registrations_message: ''\n timeline_preview: true\n show_staff_badge: true\n preview_sensitive_media: false\n noindex: false\n theme: 'system'\n trends: true\n trends_as_landing_page: true\n trendable_by_default: false\n reserved_usernames:\n - abuse\n - account\n - accounts\n - admin\n - administration\n - administrator\n - admins\n - help\n - helpdesk\n - instance\n - mod\n - moderator\n - moderators\n - mods\n - owner\n - root\n - security\n - server\n - staff\n - support\n - webmaster\n disallowed_hashtags: # space separated string or list of hashtags without the hash\n bootstrap_timeline_accounts: ''\n activity_api_enabled: true\n peers_api_enabled: true\n show_domain_blocks: 'disabled'\n show_domain_blocks_rationale: 'disabled'\n require_invite_text: false\n backups_retention_period: 7\n captcha_enabled: false\n allow_referer_origin: false\n\ndevelopment:\n <<: *defaults\n\ntest:\n <<: *defaults\n\nproduction:\n <<: *defaults\n | dataset_sample\yaml\ruby\settings.yml | settings.yml | YAML | 1,380 | 0.95 | 0 | 0.033898 | python-kit | 641 | 2025-05-30T00:34:18.364552 | MIT | false | 631cee87f9daef8b64dd523889699323 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.