Skip to content

Instantly share code, notes, and snippets.

View alexmazaltov's full-sized avatar
🎯
Blockchain development

Oleksii Bondarenko alexmazaltov

🎯
Blockchain development
View GitHub Profile
@alexmazaltov
alexmazaltov / counties.geojson
Created August 23, 2024 17:32 — forked from sdwfrost/counties.geojson
US Counties data in geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexmazaltov
alexmazaltov / 《合法性的政治》.md
Created August 23, 2024 11:02
《合法性的政治》阅读笔记
title date
《合法性的政治》阅读笔记
2024-03-29

因为最近“赵鼎新和浙大”的事,早上蹲坑掏出来《合法性的政治》随便看看,结果一口气看完了。之后又扫了一遍《社会与政治运动讲义》,因为06年成书,所以没细看。希望这里能“少摘录,少评价”,尽量几句话说清楚他的一些核心论点和论据,以及我对此的评价。

先总评一下:

@alexmazaltov
alexmazaltov / Module.php
Created August 10, 2024 20:20 — forked from timkelty/Module.php
Craft 5 afterSave element bug
<?php
namespace modules\testmodule;
use Craft;
use craft\base\Element;
use craft\base\Model;
use craft\elements\Entry;
use craft\events\DefineBehaviorsEvent;
use craft\events\ModelEvent;
@alexmazaltov
alexmazaltov / Enhanced-Conclusions.md
Last active August 10, 2024 20:07 — forked from gehn11/Vitaliy_Romanyuk_v2
Text query to image - Integrated project 4

Выводы и рекомендации Mazaltov at Alef Invest:

  1. В рамках данного проекта была проведена работа по обучению моделей для предсказания соответствия между текстовыми запросами и изображениями.

  2. Исходные данные включали:

    • Набор из 1000 уникальных изображений
    • Датасет с наименованиями файлов изображений
    • Датасет с экспертной оценкой соответствия изображений и запросов (около 15% выборки)
    • Датасет с оценкой соответствия, полученной краудсорсингом (около 95% выборки)
@alexmazaltov
alexmazaltov / README.md
Created August 8, 2024 20:43
Strategies to Prevent Supply Chain Attacks

Supply chain attacks can have serious consequences. To safeguard your digital supply chain, consider the following strategies:

Conduct Due Diligence on Vendors

  • Thoroughly assess the security practices of your vendors.
  • Ensure they follow best practices and have robust security postures.

Implement Zero-Trust Model

  • Assume that no entity (internal or external) is inherently trustworthy.
@alexmazaltov
alexmazaltov / ddev-fix-broken-schema-2-databases.md
Last active August 7, 2024 23:31
How fix broken tables after db import in case there is an broken tables attributes using ddev
{
"url": "https://alefinvest.xyz",
"name": "AI NFT Marketplace",
"iconUrl": "https://i.ibb.co/1nnc4g4/2024-05-30-15-10-58.jpg",
"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"
}
@alexmazaltov
alexmazaltov / backup.sh
Created April 27, 2024 22:58
In case anyone needs a script to get a backup from directus instance using postgres database here it is.
#backup.sh
#!/bin/bash
# Define variables
LABEL="DBASH"
REMOTE_USER="root"
REMOTE_HOST="15.15.15.1"
POSTGRES_CONTAINER_NAME="postgresql-s0g8css"
POSTGRES_USER="LKDoajsdhjkj123" # Replace with your PostgreSQL username
POSTGRES_DB="directus" # Replace with your PostgreSQL database name
@alexmazaltov
alexmazaltov / CODE_OF_CONDUCT.md
Last active April 15, 2024 22:44
Contributing Guidelines ADOPTED from Amazon Open Source Code of Conduct.
@alexmazaltov
alexmazaltov / 0.json
Last active November 27, 2023 18:07
NFT AI LOGO
{
"tokenId": 0,
"name": "AlefInvest logo NFT",
"description": "This is logo of AlefInvest trademark as NFT created with a simple smart contract.",
"image": "https://raw.githubusercontent.com/alexmazaltov/bitcoin-test-net-history/master/g60.png"
}