Teamlead Roadmap – карта навыков и компетенций тимлидов, которую можно адаптировать для любой компании и команды.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Display a map on a webpage</title> | |
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> | |
<link href="https://api.mapbox.com/mapbox-gl-js/v3.1.2/mapbox-gl.css" rel="stylesheet"> | |
<script src="https://api.mapbox.com/mapbox-gl-js/v3.1.2/mapbox-gl.js"></script> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const zlib = require('zlib'); | |
const toxy = require('toxy'); | |
const express = require('express'); | |
const proxy = toxy(); | |
// Gzip CSS file | |
const cssContent = 'body { background-color: purple; }'; | |
const gzippedCssContent = zlib.gzipSync(cssContent); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello, ChatGPT. |
Mapbox GL JS v2 contains OSS code from:
- Mapbox GL JS v1.13 and earlier. Licensed under a BSD-3-Clause license
- glfx.js. Licensed under a MIT license
- d3-color. Licensed under an ISC license
- d3-geo. Licensed under an ISC + MIT license
- d3-geo-projection. Licensed under an ISC + MIT license
See the LICENSE.txt for more info.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/index.js b/index.js | |
index f685aa3..7b7ad81 100644 | |
--- a/index.js | |
+++ b/index.js | |
@@ -49,7 +49,7 @@ module.exports = function flowRemoveTypes(source, options) { | |
allowReturnOutsideFunction: true, | |
allowSuperOutsideMethod: true, | |
sourceType: 'module', | |
- plugins: [ '*', 'jsx', 'flow', 'classProperties', 'importMeta' ], | |
+ plugins: ['*', 'jsx', 'flow', 'classProperties', 'importMeta', 'importAssertions' ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('hello') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install mkcert | |
mkcert localhost | |
npx serve -l 1234 --ssl-cert ./localhost.pem --ssl-key ./localhost-key.pem <path> | |
open https://localhost:1234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user nginx; | |
worker_processes auto; | |
worker_cpu_affinity auto; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 4086; | |
use epoll; | |
multi_accept on; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 0 CTE | |
-- (cost=516210.50..516210.55 rows=1 width=32) (actual time=631.428..631.567 rows=1 loops=1) | |
-- Planning Time: 1.518 ms | |
-- JIT: | |
-- Functions: 11 | |
-- Options: Inlining true, Optimization true, Expressions true, Deforming true | |
-- Timing: Generation 2.829 ms, Inlining 46.263 ms, Optimization 144.057 ms, Emission 49.466 ms, Total 242.615 ms | |
-- Execution Time: 644.024 ms | |
-- TOTAL: 886ms? | |
explain analyze |
NewerOlder