Skip to content

Instantly share code, notes, and snippets.

View franknmungai's full-sized avatar

Frank franknmungai

View GitHub Profile
<a
href={`https://api.whatsapp.com/send?text=Hello World`}
target="_blank"
onClick={onClick}
rel="noopener noreferrer"
>
<img
src="https://img.icons8.com/color/48/000000/whatsapp.png"
alt="social"
/>
// Assumptions made: 1. Every article document has a category field
const articlesCollection = [
{
id: '1',
article:
'Lorem ipsum dolor sit amet consectetur, adipisicing elit. Facili laborum tenetur tempora',
topic: 'Education',
},
{
@franknmungai
franknmungai / auth-depl.yaml
Created June 30, 2020 03:47
Google Clould Kubernetes setup for ticketing-app
apiVersion: apps/v1
kind: Deployment #Depl for managing pods
metadata:
name: auth-depl
spec:
replicas: 1
selector:
matchLabels: # Manage pods with this labels
app: auth
template: #Teplate for our pod