Skip to content

Instantly share code, notes, and snippets.

View kapral18's full-sized avatar
:shipit:
Debugging Kibana

Karen Grigoryan kapral18

:shipit:
Debugging Kibana
View GitHub Profile
--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
@kapral18
kapral18 / prof_deopts
Created January 10, 2016 11:08
Profile deopts
$ Chrome --no-sandbox --js-flags="--prof --noprof-lazy --log-timer-events"
$ tools/plot-timer-events /path/to/v8.log
$ Chrome --no-sandbox --js-flags="--prof --noprof-lazy --log-timer-events"
$ tools/mac-tick-processor /path/to/v8.log
$ Chrome --no-sandbox --js-flags="--trace-deopt --trace-opt-verbose"
@kapral18
kapral18 / gist:31aa6230a722ed8c0e8f
Last active September 21, 2015 11:59 — forked from paulirish/gist:5558557
a brief history of detecting local storage

A timeline of the last four years of detecting good old window.localStorage.


Jan Lenhart, bless his heart contributed the first patch for support:

October 2009: 5059daa

@kapral18
kapral18 / what-forces-layout.md
Last active September 21, 2015 11:55 — forked from paulirish/what-forces-layout.md
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout. This is also called reflow or layout thrashing, and is common performance bottleneck.

Element

Box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
  • elem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeight
  • elem.getClientRects(), elem.getBoundingClientRect()