Skip to content

Instantly share code, notes, and snippets.

View llirikkcoder's full-sized avatar

Kirill Pavlyashik llirikkcoder

  • Russia, Kaliningrad
View GitHub Profile
@llirikkcoder
llirikkcoder / gist:8365e4699a8bb2d55ec4d7bd4c4dd1ce
Created November 25, 2023 15:29
anoya web kozindev branch install error
PS C:\_KIPOL\WEB\_WORK\_ANOYA\AnoyaWeb> yarn watch
yarn run v1.22.19
$ node webpack
10% building 2/2 modules 0 activeListening at http://127.0.0.1:9991
i 「wds」: Project is running at http://127.0.0.1:9991/
i 「wds」: webpack output is served from undefined
i 「wds」: Content not from webpack is served from C:\_KIPOL\WEB\_WORK\_ANOYA\AnoyaWeb\public
i 「wds」: 404s will fallback to /frontend/index.html
10% building 2/4 modules 2 active C:\_KIPOL\WEB\_WORK\_ANOYA\AnoyaWeb\node_modules\webpack\hot\dev-server.jsnode:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
# Оффер Константина Курилова (КК)
## Обзор
Константин Курилов (КК) — многофункциональный специалист, который ценит новые открытия, путешествия и любознательность. С его подходом, ознаменованным кличкой "Колумб", КК стремится к созданию уникальных и инновационных решений в различных областях.
## Специализации
### Интерактивные Инсталляции и Произведения Искусства
- Разработка интерактивных инсталляций, объединяющих искусство и технологии.
@llirikkcoder
llirikkcoder / freedompay-nodejs-test
Created April 8, 2024 11:19
freedompay-nodejs-test
const { JSDOM } = require('jsdom');
// Создайте виртуальное окружение браузера с помощью jsdom
const dom = new JSDOM('<!DOCTYPE html><html><head></head><body></body></html>');
global.document = dom.window.document;
global.window = dom.window;
// Загрузите SDK FreedomPay
const script = global.document.createElement('script');
script.src = 'https://cdn.freedompay.money/sdk/js-sdk-1.0.0.js';
@llirikkcoder
llirikkcoder / gist:aaa0637f12c0360b44f0619b9400e8e8
Last active April 9, 2024 07:24
FreedomPaySDK for nodejs
const { JSDOM } = require('jsdom');
const PUB_KEY = `-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwkpBYIq0HTwgqXTRIo0r
jpnAWeCerapYd+QZUA2ED6kLwmbSL6vmbRlWBvcZBsCNhQaGoRpUYX94fn0r7sQC
kgRWdMgxhFwgv+TCWjwdmcDO2P1NyAm8OIy4pdms0J/nE/7s50UO0RU1cjN1C//n
f3cupSw/P7QyC8cdVlEHLrE8FrulitB4JOiretnO/sMCS990glQ5VJPQMv6glztv
ZVzoXksRENdSoKfT+ZCod5kJjXNKy9mJnB9EABxdc8G5TB6pknDOiIgHKLzOrXPj
3DI4+kOxs0CQLr0lBVQQV+fiTWBoR+kvY8EwohLRiKeZxRWPv9y1OC2f80CukkGn
DwIDAQAB
require('dotenv').config()
const express = require('express');
const cors = require('cors');
const bodyParser = require('body-parser');
const {routes } = require('./routes/routes');
const {adminRoutes} = require("./routes/adminRoutes")
const cookieParser = require('cookie-parser');
const { Pool } = require('pg');
const app = express();
@llirikkcoder
llirikkcoder / gist:414563e50c2633ef928b8ff6b78ebe7f
Created April 18, 2024 07:08
getProductDetailById with slug
чтобы вернуть:
{
"success": true,
"msg": "Product List",
"data": [
{
"id": 2,
"brandId": 1,
"productName": "Men`s Bathrobe Triton 10 Terry Cotton Navy",
"price": 160,
{
"url": "https://front3.tap.fairyland.world",
"name": "tapper-mm-pro",
"iconUrl": "https://ton-connect.github.io/demo-dapp-with-react-ui/apple-touch-icon.png",
"termsOfUseUrl": "https://ton-connect.github.io/demo-dapp-with-react-ui/terms-of-use.txt",
"privacyPolicyUrl": "https://ton-connect.github.io/demo-dapp-with-react-ui/privacy-policy.txt"
}