Skip to content

Instantly share code, notes, and snippets.

View kapral18's full-sized avatar
:copilot:
Merging with AI

Karen Grigoryan kapral18

:copilot:
Merging with AI
View GitHub Profile
@kapral18
kapral18 / snapshot_restore.jest_titles.before_after.csv
Last active January 3, 2026 11:13
Snapshot & Restore: Jest test titles (before vs after RTL migration)
FILE BEFORE AFTER
x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/home.test.ts each row should have a link to the repository each row should have a link to the repository
should detail the failure for each index should detail the failure for each index
should display a loading while fetching the repositories should display a loading while fetching the repositories
should display a message when snapshot created successfully should display a message when snapshot created successfully
should display a message when snapshot in progress should display a message when snapshot in progress
should display an empty prompt should display an empty prompt
should display an empty prompt should display an empty prompt
should display an empty prompt should display an empty prompt
should display the failed indices should display the failed indices
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { waitFor, waitForElementToBeRemoved, screen, render, act } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import React from 'react';
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { waitFor, waitForElementToBeRemoved, screen, render, act } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import React from 'react';
--log_gc (Log heap samples on garbage collection for the hp2ps tool.)
type: bool default: false
--expose_gc (expose gc extension)
type: bool default: false
--max_new_space_size (max size of the new generation (in kBytes))
type: int default: 0
--max_old_space_size (max size of the old generation (in Mbytes))
type: int default: 0
--max_executable_size (max size of executable memory (in Mbytes))
type: int default: 0
@kapral18
kapral18 / index.html
Last active August 8, 2021 04:52
Native AsyncAwait vs babel regenerator vs promises (http://jsbench.github.io/#bb78a677c5850d0830ff7d818d5ac4cd) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Native AsyncAwait vs babel regenerator vs promises</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
Verifying my Blockstack ID is secured with the address 1MyXsYNzHrdRMesFNSWy8aBehsNuuE4weN https://explorer.blockstack.org/address/1MyXsYNzHrdRMesFNSWy8aBehsNuuE4weN
@kapral18
kapral18 / meta-tags.md
Created December 24, 2018 20:00 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@kapral18
kapral18 / Clarifications.md
Last active March 12, 2019 17:54
Clarifications

Clarifications

Foreword

Since there is an increased interest in my candidacy I created
this checklist to cut our mutual time waste and make our conversation
more effective.

Before any calls

Keybase proof

I hereby claim:

  • I am kapral18 on github.
  • I am kapral18 (https://keybase.io/kapral18) on keybase.
  • I have a public key ASBHn-6NXD5Ho4GQ64NUpmstoHbtBOChiv8SZzknXqNIOAo

To claim this, I am signing this object:

Smashing Conference, Barcelona, 2017

Let’s Work Together!

Brad Frost

  • Design systems have lots of benefits, to name a few
    • UI consistency & cohesion
    • Faster production
    • Shared vocabulary
  • Easier to test