Skip to content

Instantly share code, notes, and snippets.

View richardokonicha's full-sized avatar
:electron:
learning to ask the right questions

r.e.e.c.h.e.e richardokonicha

:electron:
learning to ask the right questions
View GitHub Profile
@richardokonicha
richardokonicha / Technical-Reference.md
Created September 29, 2025 14:25
Elasticsearch on mindsdb Technical Referencearch Handler - Comprehensive
@richardokonicha
richardokonicha / Elasticsearch-Integration.md
Last active September 29, 2025 14:23
Setup Guide: MindsDB with Elasticsearch Integration

Complete Setup Guide: MindsDB with Elasticsearch Integration

Overview

This comprehensive guide walks you through setting up MindsDB from source using Makefile commands, installing and configuring Elasticsearch, creating datasources, and running extensive test scenarios. Perfect for development, testing, and production environments.

Table of Contents

  1. Prerequisites & System Requirements
  2. MindsDB Installation from Source
@richardokonicha
richardokonicha / rescue-tokens.ts
Created July 11, 2024 17:42 — forked from ezynda3/rescue-tokens.ts
Flashbots Rescue Tokens
import { ethers, providers, Wallet, utils, Transaction } from "ethers";
import {
FlashbotsBundleProvider,
FlashbotsBundleResolution,
} from "@flashbots/ethers-provider-bundle";
import { exit } from "process";
const FLASHBOTS_URL = "https://relay-goerli.flashbots.net";
const TOKEN_ADDRESS = "0x4E5d67a73bdb6BF68fADa7BDD7F455A7aA02C8ab";
@richardokonicha
richardokonicha / rescue-tokens.ts
Created July 11, 2024 17:42 — forked from ezynda3/rescue-tokens.ts
Flashbots Rescue Tokens
import { ethers, providers, Wallet, utils, Transaction } from "ethers";
import {
FlashbotsBundleProvider,
FlashbotsBundleResolution,
} from "@flashbots/ethers-provider-bundle";
import { exit } from "process";
const FLASHBOTS_URL = "https://relay-goerli.flashbots.net";
const TOKEN_ADDRESS = "0x4E5d67a73bdb6BF68fADa7BDD7F455A7aA02C8ab";
@richardokonicha
richardokonicha / builder.docker-compose.yml
Created August 10, 2023 03:01
docker compose for coolify v4
version: '3'
services:
coolify-builder:
image: ghcr.io/coollabsio/coolify-builder
volumes:
- /data/coolify/source:/data/coolify/source
- /var/run/docker.sock:/var/run/docker.sock
environment:
- LATEST_IMAGE=${LATEST_IMAGE:-}
# Add your environment variables here
@richardokonicha
richardokonicha / TorusKnot-webgl
Last active January 25, 2022 12:28
Torus Knot rendered with threejs
<main>
<h1>This is a Torus Knot rendered on the browser with the help of WebGL
</h1>
</main>
@richardokonicha
richardokonicha / App.js
Created January 20, 2021 12:26
React Amplify minimal custom authentication flow
// import logo from './logo.svg';
import './App.css';
import React, { useEffect, useState } from 'react'
// import Routes from './router/Routes'
import { Auth, Hub } from 'aws-amplify'
const initialFormState = {
username: '',
password: '',
email: '',
@richardokonicha
richardokonicha / file.py
Created July 14, 2020 13:07
Package and import all files from directory
import importdir
importdir.do("features", globals())
<?php
/**
* Customer completed order email
*
* This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-completed-order.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
@richardokonicha
richardokonicha / template-telebot.py
Created June 30, 2020 16:12
A Telegram bot flask template - webhook, getMessage, Debug setu
import telebot
import os
from config import *
from flask import Flask, request
server = Flask(__name__)
@server.route('/'+ TOKEN, methods=['POST'])
def getMessage():
request_object = request.stream.read().decode("utf-8")