This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isHidden(el) { | |
return (el.offsetParent === null) | |
} | |
function async applyCoupon (coupon) { | |
// async or return promise | |
var response = {}; // refer the format below | |
document.querySelector(".deals-and-discounts-toggle > button").click(); | |
setTimeout(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isHidden(el) { | |
return (el.offsetParent === null) | |
} | |
function async applyCoupon (coupon) { | |
// async or return promise | |
var response = {}; // refer the format below | |
document.querySelector(".deals-and-discounts-toggle > button").click(); | |
setTimeout(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isHidden(el) { | |
return (el.offsetParent === null) | |
} | |
function async applyCoupon (coupon) { | |
// async or return promise | |
var response = {}; // refer the format below | |
document.querySelector(".deals-and-discounts-toggle > button").click(); | |
setTimeout(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as mongoose from 'mongoose'; | |
export let Schema = mongoose.Schema; | |
export let ObjectId = mongoose.Schema.Types.ObjectId; | |
export let Mixed = mongoose.Schema.Types.Mixed; | |
export interface IHeroModel extends mongoose.Document { | |
name: string; | |
power: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- test | |
- deploy | |
# So this is where I deploy to server to build the site | |
deploy-master: | |
stage: deploy | |
image: tetraweb/php:7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="col-md-9 nopadding"> | |
<div class="col-md-12"> | |
<input class="top-input" type="" name="" :value="note.title" v-model="note.title"> | |
</div> | |
<textarea class="main-text" v-model="note.content" > | |
</textarea> | |
</div> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Facades\Gate; | |
use Laravel\Passport\Passport; | |
use Carbon\Carbon; | |
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; | |
class AuthServiceProvider extends ServiceProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use Illuminate\Notifications\Notifiable; | |
use Illuminate\Foundation\Auth\User as Authenticatable; | |
use Laravel\Passport\HasApiTokens; | |
class User extends Authenticatable | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="col-md-12 contain nopadding"> | |
<note-sidebar v-if="notes" :initialnotes="notes" @noteChosen="noteSelected"></note-sidebar> | |
<note-editor v-if="firstNote" :note="firstNote"/> | |
</div> | |
</template> | |
<script> | |
import NoteEditor from './NoteEditor.vue'; | |
import NoteSidebar from './NoteSidebar'; |
NewerOlder