Skip to content

Instantly share code, notes, and snippets.

View krushndayshmookh's full-sized avatar
💻
Crafting

Krushn Dayshmookh krushndayshmookh

💻
Crafting
View GitHub Profile
@krushndayshmookh
krushndayshmookh / HiddenInput.vue
Created April 29, 2021 20:56
Path editable and upload button based file input in Quasar
<template>
<q-card>
<q-card-section>
<q-input
ref="image"
v-model="imagePath"
class="q-mb-sm"
hide-bottom-space
color="primary"
placeholder="Image URL"
@krushndayshmookh
krushndayshmookh / Login.vue
Created April 22, 2021 07:57
Google Auth Vue2
<template>
<q-card style="min-width: 50vw">
<q-card-section>
<q-btn
v-if="isSignedIn"
color="blue"
icon="fab fa-google"
:label="`Continue as ${userProfile.name}`"
no-caps
rounded
@krushndayshmookh
krushndayshmookh / App.vue
Created February 21, 2021 09:14 — forked from shreyasmalewar/App.vue
Using Google Maps API for Location Picker with Vue 2
<template>
<div id="app">
<GmapMap
:center="center"
:zoom="18"
map-style-id="roadmap"
:options="mapOptions"
style="width: 100vmin; height: 50vmin"
ref="mapRef"
@click="handleMapClick"

Superrfan Tech Stack

[ Updated: Feb 9 2020 ]

Dependencies

Backend

  • @sendgrid/mail
  • axios
@krushndayshmookh
krushndayshmookh / searchController.js
Created February 4, 2021 17:22
Search Services Under Business with Population of other services if matches are less than limit
const Service = require('../models/service').model
const Business = require('../models/business').model
exports.search_get = async (req, res) => {
const { searchQuery } = req.query
let query = {}
if (searchQuery) {
query.name = { $regex: searchQuery, $options: 'i' }
<template>
<div contenteditable @input="onInput">{{ value }}</div>
</template>
<script>
export default {
props: ['value'],
methods: {
onInput(e) {
@krushndayshmookh
krushndayshmookh / ImageCapture.vue
Last active December 29, 2023 10:20
Image Capture using WebRTC mediaDevices.getUserMedia in Quasar/Vue
<template>
<q-card>
<q-card-section>
<div class="text-center">
<video
ref="webcam"
autoplay
playsinline
muted
width="400"

App

  • auth
    • register
    • login
    • change pass
  • funds
    • subscribed
    • all
    • detials
  • actions(subscribe/unsubscribe)