Skip to content

Instantly share code, notes, and snippets.

View cingh-jasdeep's full-sized avatar

Jasdeep Singh cingh-jasdeep

View GitHub Profile
@cingh-jasdeep
cingh-jasdeep / onesignal-subscription-button.vue
Last active May 15, 2022 09:43
OneSignal Nuxt Custom Link Button
<template>
<!-- Adapted for Nuxt from
official doc
https://documentation.onesignal.com/docs/web-push-custom-code-examples#section-custom-link-prompt
-->
<div v-if="subscriptionState != null" class="flex flex-col items-center">
<div class="mt-2 text-center text-sm md:text-base">
Get alerts on Website
</div>
<button
@cingh-jasdeep
cingh-jasdeep / gist:6fc1fe228c0190483b52ef6f63f35965
Last active December 22, 2021 04:23
Final Assessment Exam
@cingh-jasdeep
cingh-jasdeep / readme.md
Last active October 5, 2021 08:43
Some useful packages for ubuntu
@cingh-jasdeep
cingh-jasdeep / instructions.md
Last active September 29, 2021 06:13
ubuntu first time flandroid

Waheguru Ji Ka Khalsa Waheguru Ji Ki Fateh ji

Ubuntu first time flandroid, in Flubuntu

  1. open terminal
  2. run studio.sh
  • choose standard and wait to finish
  • open sdk manager from More Actions
  • Under SDK Platforms check Android 30
@cingh-jasdeep
cingh-jasdeep / GitConfigHttpProxy.md
Created September 22, 2021 09:37 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like: