- AutoFileName
- Beautify
- CSS Peek
- ESLint
- Git History
- ES6 Snippets
- JavaScript Snippets
- One Dark Theme
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
const dataTransfer = new DataTransfer() | |
cy.window().then((win) => { | |
cy.get('.dragButton') | |
.trigger('mousedown', { which: 1, view: win, force: true }) | |
cy.get('.dragButton') | |
.trigger('dragstart', { dataTransfer, view: win, force: true }) | |
.trigger('drag', { dataTransfer, view: win, force: true }) | |
cy.get('.dropElement') | |
.trigger('mouseenter', { force: true, view: win }) |
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
alias gcl='git clone' | |
alias ga='git add' | |
alias grm='git rm' | |
alias gap='git add -p' | |
alias gall='git add -A' | |
alias gf='git fetch --all --prune' | |
alias gft='git fetch --all --prune --tags' | |
alias gfv='git fetch --all --prune --verbose' | |
alias gftv='git fetch --all --prune --tags --verbose' | |
alias gus='git reset HEAD' |
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 id="app"> | |
<router-view></router-view> | |
</div> | |
</template> | |
<style> | |
@import url(https://fonts.googleapis.com/css?family=Lato); | |
body { |
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="page"> | |
<search-character-form></search-character-form> | |
<characters-list></characters-list> | |
</div> | |
</template> | |
<script> | |
import SearchCharacterForm from 'components/SearchCharacterForm' | |
import CharactersList from 'components/CharactersList' |
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 v-if="!!characters.length" class="ui characters-list cards"> | |
<div v-for="character in characters" :key="character.name" class="ui card fadeIn-animation"> | |
<div class="image"> | |
<img :src="character.image" /> | |
</div> | |
<div class="content"> | |
<div class="header">{{character.name}}</div> | |
<div class="description"> | |
{{character.description}} |
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="search-character__form"> | |
<form @submit.prevent | |
@submit="handleSearch()"> | |
<div class="ui action input"> | |
<input v-model="name" | |
placeholder="Character Name" | |
type="text" | |
required /> |
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 Vue from 'vue' | |
import Vuex from 'vuex' | |
import axios from 'axios' | |
Vue.use(Vuex) | |
const state = { | |
data: [] | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.6/semantic.min.css"> | |
<title><%= htmlWebpackPlugin.options.title %></title> | |
</head> | |
<body> | |
<div id="app"></div> | |
</body> |
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
'use strict'; | |
const expect = require('chai').expect; | |
const CalculatorUtil = require('./CalculatorUtil'); | |
describe('Calculator Util', () => { | |
let calculatorUtil; | |
beforeEach(() => { | |
calculatorUtil = new CalculatorUtil(); |
NewerOlder