Skip to content

Instantly share code, notes, and snippets.

@alexeyten
alexeyten / README.md
Last active October 13, 2021 17:49
picocolors benchmark
$ node runner.js
baseline   { median: 43.16093, mean: 43.08483823809524 }
nanocolors { median: 47.465964, mean: 47.202760285714284 }
picocolors { median: 44.478806, mean: 44.252607809523816 }
chalk      { median: 46.725678, mean: 47.159447523809526 }
picocolors { median: 44.538646, mean: 46.444677000000006 }
nanocolors { median: 47.159858, mean: 47.785727 }
baseline   { median: 40.406613, mean: 40.227075666666664 }
chalk      { median: 48.239906, mean: 48.22988314285714 }
@alexeyten
alexeyten / README.md
Created April 23, 2020 06:47
NPM (pre)version

Test (pre)version scripts

$ npm version 2.0.0

> [email protected] preversion /tmp/test
> ./check.js

{ envVersion: '2.0.0', pkgVersion: '1.2.3' }
v2.0.0
#s {
width: 400px;
border: 1px solid red;
display: flex;
justify-content: flex-end;
text-align: left;
}
@alexeyten
alexeyten / dabblet.css
Last active April 17, 2020 10:32
Untitled
text {
font: bold 40pt sans-serif;
}
@alexeyten
alexeyten / dabblet.css
Last active April 11, 2020 20:24
Test Iosevka Term
/**
* Test Iosevka Term
*/
body {
padding: 10pt;
font-size: 16pt;
font-family: Iosevka Dev, Iosevka Term, serif;
}

Такое вот программирование на nginx.

$ curl -I localhost:9999/
HTTP/1.1 429 Too Many Requests
Server: nginx/1.12.2
Date: Thu, 14 Nov 2019 21:06:14 GMT
Content-Type: text/html
Content-Length: 185
Connection: close
@alexeyten
alexeyten / dabblet.css
Created November 1, 2017 16:02
Notification Counter
/**
* Notification Counter
*/
div {
width: 150px;
height: 150px;
background: #fea;
border-radius: 50%;
margin: 10px;
@alexeyten
alexeyten / dabblet.css
Created November 1, 2017 16:02
Notification Counter
/**
* Notification Counter
*/
div {
width: 150px;
height: 150px;
background: #fea;
border-radius: 50%;
margin: 10px;
@alexeyten
alexeyten / dabblet.css
Created April 10, 2017 07:57
Привет «дизайнерам»!
/**
* Привет «дизайнерам»!
*/
html {
color: black;
background: white;
}
.opacity {
@alexeyten
alexeyten / dabblet.css
Created April 7, 2017 13:24
Привет «дизайнерам»!
/**
* Привет «дизайнерам»!
*/
html {
color: black;
background: white;
}
.opacity {