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
@hariprasadiit
hariprasadiit / designer.html
Last active August 29, 2015 14:16
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;