Skip to content

Instantly share code, notes, and snippets.

View MohitTilwani15's full-sized avatar
💭
<MohitTilwani :is-coding="true" />

Mohit Tilwani MohitTilwani15

💭
<MohitTilwani :is-coding="true" />
  • Berlin
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mohittilwani15 on github.
  • I am mohittilwani (https://keybase.io/mohittilwani) on keybase.
  • I have a public key ASCUT8S8jMR0Z7JzHFWdEJb7bfW-1BzaXvKvOEodFZZXqQo

To claim this, I am signing this object:

provider "heroku" {
version = "~> 1.9"
}
variable "example_app_name" {
description = "Name of the Heroku app provisioned as an example"
}
resource "heroku_app" "example" {
name = "${var.example_app_name}"
@MohitTilwani15
MohitTilwani15 / .vue
Created March 31, 2019 21:39
Lazy load images using Intersection Observer
<template>
<img ref='image' :alt="title" />
</template>
<script lang="ts">
export default {
name: 'VueImage',
props: {
imageSrc: {
type: String,
default: '',
@MohitTilwani15
MohitTilwani15 / .vue
Created August 28, 2018 09:31
debugger in Vuejs, used in for loop in template
Vue.component('debug', {
props: {
item: {
type: Object,
default() {
return {};
},
},
},
created() {