Skip to content

Instantly share code, notes, and snippets.

View siddharthlatest's full-sized avatar
👨‍💻
Focusing

Siddharth Kothari siddharthlatest

👨‍💻
Focusing
View GitHub Profile
@siddharthlatest
siddharthlatest / arc.sh
Last active August 14, 2020 21:53 — forked from lakhansamani/arc.sh
cat <<EOF | kubectl apply -f -
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
generation: 1
name: arc
spec:
selector:
<ResultCard
componentId="results"
dataField="original_title"
pagination={true}
paginationAt="bottom"
pages={5}
size={12}
Loader="Loading..."
showResultStats={true}
noResults="No results were found..."
<SingleRange
componentId= "revenue-list"
dataField= "ran_revenue"
className= "revenue-filter"
data={[
{ start: 0, end: 1000, label: "< 1M" },
{ start: 1000, end: 10000, label: "1M-10M" },
{ start: 10000, end: 500000, label: "10M-500M" },
{ start: 500000, end: 1000000, label: "500M-1B" },
{ start: 1000000, end: 10000000, label: "> 1B" }
<MultiList
componentId="genres-list"
dataField="genres_data.raw"
className="genres-filter"
size={20}
sortBy="asc"
queryFormat="or"
selectAllLabel="All Genres"
showCheckbox={true}
showCount={true}
{
"shout": "Columbus Realtors Directors Meeting",
"city": "columbus",
"category": "Office",
"latitude": 39.996149824327,
"longitude": -82.93393505324137,
"venue": "Columbus REALTORS®",
"city_suggest": "Columbus",
"url": "swarmapp.com/c/96gB6gzzl34",
"username": "Kathy",
@siddharthlatest
siddharthlatest / webhooks.md
Last active November 24, 2015 17:21 — forked from yashshah/webhooks.md
Appbase Webhooks + Sendgrid

##Appbase + Sendgrid Webhooks Usecase

Basically in all the cases when you want to send transactional mail (i.e based on some activity), it is perfect fit to use Appbase and Sendgrid together.

  • When you want to notify users if their account information has been changed
  • Mails related to order confirmation, send an email when new entry comes in
  • Welcome mail to the users as soon as they sign up
  • Alert mails

You won't need to run your server to handle the mails. It is advisable to run the webhooks through the backend as you will be passing your API key in the request.