Skip to content

Instantly share code, notes, and snippets.

View ponyjackal's full-sized avatar
🏠
Working from home

ponyjackal

🏠
Working from home
View GitHub Profile
@ponyjackal
ponyjackal / docker-compose.yml
Created February 6, 2024 00:14
Debezium Postgres Kafka CDC
version: "3"
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
hostname: zookeeper
container_name: zookeeper
ports:
- "2181:2181"
environment:
@ponyjackal
ponyjackal / loginWithEthereum
Created August 11, 2021 17:43
login with Ethereum & Decentralized Identity with Ceramic, IDX, React, and 3ID Connect
import './App.css';
import { useState } from 'react'
import CeramicClient from '@ceramicnetwork/http-client'
import ThreeIdResolver from '@ceramicnetwork/3id-did-resolver'
import { EthereumAuthProvider, ThreeIdConnect } from '@3id/connect'
import { DID } from 'dids'
import { IDX } from '@ceramicstudio/idx'
@ponyjackal
ponyjackal / Querying The Graph with URQL & React
Created August 5, 2021 12:48
Querying Blockchain Data with GraphQL from a Web Application with URQL and The Graph
import './App.css';
import { createClient } from 'urql'
import { useEffect, useState } from 'react'
const APIURL = ""
const query = `
query {
tokens(
first: 5