Skip to content

Instantly share code, notes, and snippets.

View Adarshreddyash's full-sized avatar
:octocat:
Building Vuejs projects

Adarshreddy adelli Adarshreddyash

:octocat:
Building Vuejs projects
View GitHub Profile
@Adarshreddyash
Adarshreddyash / gsi-with-nuxt.md
Created August 7, 2022 11:33 — forked from srestraj/gsi-with-nuxt.md
Integrate Google Sign-in and One-tap with Nuxt.js

Integrate Google Sign-in (Popup method) with Nuxt.js - Works in Incognito mode as well

Add GSI client in your nuxt.config.js
export default {
  ...
  head: {
    ...
@Adarshreddyash
Adarshreddyash / haversine.py
Created May 11, 2022 17:18 — forked from ncole458/haversine.py
Django Haversine Formula Queryset
"""
Find user/database entries within a km radius based on long/lat co-ords.
i.e. return all objects where longlat lies within 10km of my current long/lat.
Using with Django REST Framework but approach is same for any similar req.
"""
import math
def get_queryset(self):
user = self.request.user
lat = self.request.query_params.get('lat', None)
@Adarshreddyash
Adarshreddyash / sampleREADME.md
Created March 11, 2020 13:38 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

@Adarshreddyash
Adarshreddyash / sampleREADME.md
Created March 11, 2020 13:38 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

@Adarshreddyash
Adarshreddyash / sampleREADME.md
Created March 11, 2020 13:38 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here