Skip to content

Instantly share code, notes, and snippets.

View sankalpdeveloper's full-sized avatar
🏠
Working from office

sankalp choudhary sankalpdeveloper

🏠
Working from office
View GitHub Profile
{
"resourceType": "Bundle",
"id": "DischargeSummary",
"type": "document",
"entry": [
{
"fullUrl": "Composition/1",
"resource": {
"resourceType": "Composition",
"id": "1",
import { Editor } from '@tinymce/tinymce-react';
const editorRef = useRef(null);
const log = () => {
if (editorRef.current) {
console.log(editorRef.current.getContent());
}
};
log()
static async startreadTextAsync(s3_file) {
try {
var params = {
DocumentLocation: {
S3Object: {
Bucket: s3_file.Bucket,
Name: s3_file.Key,
},
},
FeatureTypes: [
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
var aggregatePaginate = require("mongoose-aggregate-paginate-v2");
const feedbackSchema = Schema({
user_id: { type: Schema.Types.ObjectId, ref: 'user' },
profile_id: { type: Schema.Types.ObjectId, ref: 'profile' },
feedback: {
type: String,
required: true,
<VirtualHost *:80>
ServerAdmin admin@sankalpdev.com
DocumentRoot /var/www/html/sankalpdev.com
ServerName sankalpdev.com
<Directory /var/www/html/sankalpdev.com/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
@sankalpdeveloper
sankalpdeveloper / index.html
Created September 28, 2020 01:13
Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" href="./assets/img/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="76x76"