Skip to content

Instantly share code, notes, and snippets.

View thesandlord's full-sized avatar

Sandeep Dinesh thesandlord

View GitHub Profile
@thesandlord
thesandlord / Readme.md
Last active April 10, 2025 22:21
Interview Take Home - 3

Interview Project

In this project, you will use the Mercoa APIs and SDKs to create a working BillPay SaaS platform. This is a full-stack project where you will need to create a backend and frontend, and deploy it to the internet.

Feel free to use any frontend frameworks and backend languages! We reccomend using Next.js, but you can use anything.

Note: We also reccomend using React 18 if you run into issues with React 19

You will need to make an app that:

@thesandlord
thesandlord / table.tsx
Created July 18, 2024 16:59
Fluz Table Example
function InvoicesTable(){
const [selectedStatus, setSelectedStatus] = useState<MercoaApi.InvoiceStatus[]>([MercoaApi.InvoiceStatus.Draft])
return (
<div>
<Tabs onClick={key => {
if(key === 'drafts'){
setSelectedStatus([MercoaApi.InvoiceStatus.Draft])
} else if (key === 'in-progress'){
setSelectedStatus([
MercoaApi.InvoiceStatus.New,
/**
* @license
* Copyright 2018, Google, Inc.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@thesandlord
thesandlord / deployment.yaml
Last active February 25, 2019 07:27
Federated Ingress on Google Container Engine
// Copyright 2017, Google, Inc.
// Licensed under the Apache License, Version 2.0 (the "License")
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: web
spec:
replicas: 12
template:
metadata:
@thesandlord
thesandlord / keybase.md
Created February 8, 2017 21:09
keybase.md

Keybase proof

I hereby claim:

  • I am thesandlord on github.
  • I am thesandlord (https://keybase.io/thesandlord) on keybase.
  • I have a public key whose fingerprint is FB3B 7AFA CC81 A624 3647 37D7 181B D6B8 5E97 DC40

To claim this, I am signing this object:

@thesandlord
thesandlord / Dockerfile
Last active April 17, 2021 23:18
ConfigMaps and Secrets with Kubernetes
# Copyright 2017, Google, Inc.
# Licensed under the Apache License, Version 2.0 (the "License")
FROM node:6-onbuild
EXPOSE 3000
ENV LANGUAGE English
ENV API_KEY 123-456-789
var gcloud = require('gcloud')({
keyFilename: '/path/to/keyfile.json',
projectId: '<YOUR-PROJECT-HERE>'
});
var vision = gcloud.vision();
var image = 'image.jpg';
vision.detectText('image.jpg', function(err, text, apiResponse) {
// text = ['This was text found in the image']
@thesandlord
thesandlord / mongodb-replica-set-using-pod-ip.js
Created February 4, 2016 00:49
Sample Code showing how you can use the kubernetes-pod-ip-finder to connect to a MongoDB Replica Set
/*
Copyright 2016, Google, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,