Skip to content

Instantly share code, notes, and snippets.

<div>
<html>
<head>
<meta charset="utf-8">
<title>Angular JS</title>
</head>
<body ng-app="myapp">
<div ng-controller="DemoCtrl as demo">
var PouchDB = require('pouchdb');
PouchDB.plugin(require('pouchdb-authentication'));
//with Admin account
var dbUrl = encodeURI('https://mylogin:[email protected]/testaccess');
var db = new PouchDB(dbUrl, {skipSetup: true});
var options = {
metadata : {
email : '[email protected]',
@ronycohen
ronycohen / launch.json
Created May 14, 2020 09:24 — forked from favasconcelos/launch.json
NestJS - VSCode - DEBUG
{
"version": "0.1.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Nest JS",
"program": "${workspaceFolder}/dist/main.js",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": [