Skip to content

Instantly share code, notes, and snippets.

View davidshare's full-sized avatar
💭
DevOps Engineer/Software Developer

David Itam Essien davidshare

💭
DevOps Engineer/Software Developer
View GitHub Profile
@davidshare
davidshare / efiya.md
Created March 29, 2025 15:25
ai app design

Project Requirements Document (PRD)

Skilled Artisan Marketplace MVP


1. App Overview

The Skilled Artisan Marketplace is a platform that connects customers with artisans, service providers, and businesses offering specialized services and products. The platform enables artisans and businesses to create profiles, list their services/products, manage bookings/orders, and engage with customers. Customers can discover, book, and purchase services/products while leaving reviews and ratings for quality assurance.

This PRD incorporates the updated database schema, which includes new features such as business profiles, wallet functionality, audit trails, and notifications. These additions enhance the platform's scalability, user experience, and operational transparency.

// app/(dashboard)/journals/new/pages.tsx
import {
ResizableHandle,
ResizablePanel,
ResizablePanelGroup,
} from "@/components/ui/resizable";
const NewJournal = () => {
return (
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 10
selector:
matchLabels:
@davidshare
davidshare / index.css
Created April 8, 2022 19:34
The html for my portfolio site
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
*,
*::before,
*::after {
margin: 0;
padding: 0;
outline: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
@davidshare
davidshare / index.css
Last active March 16, 2022 15:49
Edward speak boot camp first task
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
*,
*::before,
*::after {
margin: 0;
padding: 0;
outline: 0;
box-sizing: border-box;
text-decoration: none;
@davidshare
davidshare / blog resources.md
Created November 26, 2021 07:02
Resources for blogging

Keybase proof

I hereby claim:

  • I am davidshare on github.
  • I am davidessien (https://keybase.io/davidessien) on keybase.
  • I have a public key ASAHz1FqtTa4qUwjpIBGO5Np6KcusJS8fNoNM9pgirHLHAo

To claim this, I am signing this object:

@davidshare
davidshare / env-to-kubernetes-secret.bash
Last active December 24, 2021 04:15
A simple bash script that takes a .env file with key and value separated by "=". It base64 encodes the value and produces a key value pair separated by a colon
#!/bin/bash
input="env_file_path"
secret_name="my-secret_name"
rm ./deployment_env.yaml ./secret_pair.txt
while IFS='=' read -r key value
do
if [[ ! -z "$key" && ! -z "$value" && "$key" != "#"* ]]
then
encoded=$(echo -n "$value" | base64 -w0)
@davidshare
davidshare / Jenkins file
Created August 9, 2019 15:59
Declarative jenkins pipeline
```#!groovy
// define the images and resources to be used in running the pipeline
pipeline {
agent {
kubernetes {
label 'proj-backend-agent'
defaultContainer 'jnlp'
yaml """
apiVersion: v1