Skip to content

Instantly share code, notes, and snippets.

✌️
Let's make this World a better place!

Slava Fomin II slavafomin

✌️
Let's make this World a better place!
View GitHub Profile
View domclick-cla.md

Contributor License Agreement

This document represents the offer of “Sberbank real estate center” Limited Liability Company (“DomClick”) to the Contributor to conclude this license agreement as follows (“Agreement”).

In accordance with Art. 435, Art. 438 of the Civil Code of the Russian Federation, this Agreement is an offer and in case of acceptance of the offer, an agreement is considered concluded on the conditions specified in the offer.

View main.ton.dev.config.json
{
"@type": "config.global",
"dht": {
"@type": "dht.config.global",
"k": 6,
"a": 3,
"static_nodes": {
"@type": "dht.nodes",
"nodes": [
{
View test.js
function main() {
console.log('Hello World!');
}
View plugins.csv
Chrome Version Babel Plugin
75 proposal-numeric-separator
80 proposal-nullish-coalescing-operator
80 proposal-optional-chaining
66 proposal-json-strings
66 proposal-optional-catch-binding
63 proposal-async-generator-functions
62 transform-dotall-regex
64 proposal-unicode-property-regex
64 transform-named-capturing-groups-regex
@slavafomin
slavafomin / core-js-polyfills-by-browsers.json
Created Oct 24, 2019
List of core-js polyfills by browsers and versions with bundle filesize
View core-js-polyfills-by-browsers.json
This file has been truncated, but you can view the full file.
[
{
"name": "ie",
"title": "IE",
"versions": {
"6": {
"polyfills": [
"es.symbol",
"es.symbol.description",
@slavafomin
slavafomin / corejs-polyfill-size-sorted.txt
Last active Oct 23, 2019
core-js polyfills individual filesizes
View corejs-polyfill-size-sorted.txt
┌────────────────────────────────────────┬──────────┐
│ Polyfill │ Size, KB │
├────────────────────────────────────────┼──────────┤
│ web.url │ 31.61 │
├────────────────────────────────────────┼──────────┤
│ es.typed-array.uint8-clamped-array │ 22.02 │
├────────────────────────────────────────┼──────────┤
│ es.typed-array.float32-array │ 22.02 │
├────────────────────────────────────────┼──────────┤
│ es.typed-array.float64-array │ 22.02 │
@slavafomin
slavafomin / buildspec.yml
Created Oct 20, 2019
Installing s3cmd in AWS CodeBuild instance using yum (Amazon Linux 2)
View buildspec.yml
version: 0.2
phases:
install:
commands:
# Installing "s3cmd" deployment utility
- >-
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm &&
yum update -y &&
@slavafomin
slavafomin / gtm-unminified.js
Last active Sep 10, 2019
Google Tag Manager script unminified
View gtm-unminified.js
window['dataLayer'] = window['dataLayer'] || [];
window['dataLayer'].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
const firstScriptElement = document.getElementsByTagName('script')[0];
const scriptElement = document.createElement('script')
View 2-sass-parent-selector-prefixes.sass
.dc-button {
// common styles
@at-root a#{&} {
// styles for <a> element
}
@at-root button#{&} {
// styles for <button> element
View 1-sass-parent-selector-prefixes.sass
// NOT WORKING! //
.dc-button {
// common styles
a& {
// styles for <a> element
}
You can’t perform that action at this time.