This file contains hidden or 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 canvasWidth = 1080; | |
const canvasHeight = 1920; | |
const center = [canvasWidth, canvasHeight].map(divideBy2); | |
// Полотно для создания размытого фона | |
const blurredSize = 1 / 8; | |
const blurredWidth = canvasWidth * blurredSize; | |
const blurredHeight = canvasHeight * blurredSize; | |
// Настройка бейджа с нфт аватаркой |
This file contains hidden or 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
<div class="css-1dbjc4n r-14lw9ot r-1wyvozj r-633pao r-u8s1d r-1v2oles r-desppf" __cpp="1" style="clip-path: url("#hex-hw-shapeclip-clipconfig"); height: calc(100% - 4px); width: calc(100% - 4px);"> | |
<div class="css-1dbjc4n r-1adg3ll r-1udh08x" __cpp="1" style=""> | |
<div class="r-1adg3ll r-13qz1uu" __cpp="1" style="padding-bottom: 100%;"></div> | |
<div class="r-1p0dtai r-1pi2tsx r-1d2f490 r-u8s1d r-ipm5af r-13qz1uu" __cpp="1"> | |
<div aria-label="Изображение профиля NFT" class="css-1dbjc4n r-1p0dtai r-1mlwlqe r-1d2f490 r-1udh08x r-u8s1d r-zchlnj r-ipm5af r-417010" __cpp="1"> | |
<div class="css-1dbjc4n r-1niwhzg r-vvn4in r-u6sd8q r-4gszlv r-1p0dtai r-1pi2tsx r-1d2f490 r-u8s1d r-zchlnj r-ipm5af r-13qz1uu r-1wyyakw" __cpp="1" style="background-image: url("https://pbs.twimg.com/profile_images/1484236379227779072/hLqwg3YI_x96.jpg");"></div> | |
<img alt="Изображение профиля NFT" draggable="true" src="https://pbs.twimg.com/profile_images/1484236379227779072/hLqwg3 |
This file contains hidden or 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
<span array="" class="AvatarRich AvatarRich--shadow AvatarRich--nft" style="width: 48px; height: 48px; border-radius: unset; | |
--avatar-rich-stroke-width: 2px; --avatar-rich-pre-scaled-stroke-width: 2px; --avatar-rich-nft-frame-width: 3px "> | |
<svg class="AvatarRich__heptagonUnderlay" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M19.835 2.006c1.53-.737 2.294-1.105 3.094-1.25a6 6 0 0 1 2.142 0c.8.145 1.565.513 3.094 1.25L38.6 7.03c1.53.737 2.294 1.105 2.906 1.64a6 6 0 0 1 1.336 1.675c.385.716.574 1.543.952 3.198l2.577 11.29c.377 1.655.566 2.483.53 3.295a6 6 0 0 1-.477 2.089c-.32.747-.849 1.41-1.907 2.738l-7.22 9.054c-1.059 1.327-1.588 1.99-2.245 2.468a6 6 0 0 1-1.931.93c-.783.216-1.632.216-3.33.216H18.21c-1.698 0-2.546 0-3.33-.216a6 6 0 0 1-1.93-.93c-.658-.477-1.187-1.141-2.246-2.468l-7.22-9.054c-1.058-1.327-1.587-1.99-1.907-2.738a6 6 0 0 1-.477-2.09c-.036-.811.153-1.639.53-3.294l2.577-11.29c.378-1.655.567-2.482.952-3.198A6 6 0 0 1 6.495 8.67c.612-.535 1.377-.903 2.906-1.64l10.434-5.024Z" |
This file contains hidden or 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
{ | |
"12": [ | |
"add_12.svg", | |
"articles_12.svg", | |
"bomb_12.svg", | |
"cake_12.svg", | |
"chevron_12.svg", | |
"chevron_outline_12.svg", | |
"coins_12.svg", | |
"favorite_12.svg", |
This file contains hidden or 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 curl = `curl 'https://pu.vk.com/gu/photo/v2/upload?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NTcwMjEzNjQsInZrX3VzZXJfaWQiOjc2NjQyOTYsInZrX2dyb3VwX2lkIjotMjEyMTYxMDg0LCJ2a19hbGJ1bV9pZCI6LTYsInJlZGlyZWN0IjoiIiwicGhvdG9fbWF4X2hlaWdodCI6ODE5MiwicGhvdG9fbWluX2hlaWdodCI6NDAwLCJwaG90b19tYXhfd2lkdGgiOjgxOTIsInBob3RvX21pbl93aWR0aCI6NDAwLCJwaG90b19tYXhfaGVpZ2h0X3Jlc2l6ZSI6MjU2MCwicGhvdG9fbWF4X3dpZHRoX3Jlc2l6ZSI6MjU2MCwicGhvdG9fcGhwX2NvbXBhdGlibGUiOmZhbHNlfQ.5NncsgN3WzIS-0-pp9_rh9D-tNgJLu-l2J0KIP4GcBM' \ | |
-H 'authority: pu.vk.com' \ | |
-H 'accept: */*' \ | |
-H 'accept-language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' \ | |
-H 'cache-control: no-cache' \ | |
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundaryvLsyu83Az4QyR0aN' \ | |
-H 'origin: https://vk.com' \ | |
-H 'pragma: no-cache' \ | |
-H 'referer: https://vk.com/' \ |
This file contains hidden or 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 lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Псевдокот</title> | |
</head> | |
<body> | |
<style> |
This file contains hidden or 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 FPS = 60; | |
function setup() { | |
} | |
function loop() { | |
} |
This file contains hidden or 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
# Смотрим доступные пакеты локализации | |
locale -a | |
# Ставим пакет с русским языком | |
sudo apt-get install language-pack-ru | |
# Выполняем русскую локализацию | |
sudo update-locale LANG=ru_RU.UTF8 | |
# Генерируем локаль | |
sudo locale-gen "ru_RU.UTF-8" | |
# Пересобираем локали, в программе выбрать ru_RU.UTF-8, нажми tab чтобы переключиться на кнопку "ОК" | |
sudo dpkg-reconfigure locales |
This file contains hidden or 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
json.teams[ | |
{ | |
"users":[ | |
{ | |
"place":1, | |
"steps":62947, | |
"updated_at":1580747661, | |
"user":{ | |
"id":37111235, | |
"username":"anni214333", |
NewerOlder