Skip to content

Instantly share code, notes, and snippets.

View hariprasadiit's full-sized avatar
💭
I may be slow to respond.

Hari Prasad hariprasadiit

💭
I may be slow to respond.
  • Bengaluru
View GitHub Profile
@hariprasadiit
hariprasadiit / buildSchema.ts
Created December 21, 2020 14:18 — forked from Moumouls/buildSchema.ts
Static Schema for Parse Server (TS/JS) (tested, and production ready)
// This function update, migrate and create Classes
export const buildSchemas = async (localSchemas: any[]) => {
try {
const timeout = setTimeout(() => {
if (process.env.NODE_ENV === 'production') process.exit(1)
}, 20000)
const allCloudSchema = (await Parse.Schema.all()).filter(
(s: any) => !lib.isDefaultSchema(s.className),
)
clearTimeout(timeout)
@hariprasadiit
hariprasadiit / install.sh
Created January 28, 2017 13:24 — forked from mkubenka/install.sh
OpenVPN Access Server Letsencrypt
#!/bin/sh
apt-get -y install git bc
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
mkdir /etc/letsencrypt