git branch | wc -l
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
git commit --amend --date="$(date -R)"
This will trigger a 'git commit --amend' action
import Vue from 'vue'; | |
import Form from "../../front-section/services/Form"; | |
Vue.component('user-form', { | |
data() { | |
return { | |
form: new Form(), | |
values: {}, | |
fileInput: {}, | |
} |
CSS Layout Debugger A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
[].forEach.call($$(""),function(a){a.style.outline="1px solid #"+(~~(Math.random()(1<<24))).toString(16)})
<template> | |
<input type="text" v-model="value"> | |
</template> | |
<script type="text/ecmascript-6"> | |
export default { | |
name: "slug", | |
props: { | |
title:{ default:"" } |
//Loader Component | |
<template> | |
<div v-if="isVisible" class="loader-overlay"> | |
<div class="loader"></div> | |
<span class="text" v-html="text"></span> | |
</div> | |
</template> | |
<script> |
let totalFuel = inputs.reduce( (acc, mass) => (acc + Math.floor((mass / 3 - 2 )), 0) |
new Vue({ | |
el: "#app", | |
mounted() { | |
this.enableInterceptor() | |
}, | |
data: { | |
isLoading: false, | |
axiosInterceptor: null, | |
}, | |
methods: { |
[ | |
{ | |
"id": 1, | |
"name": "bulbasaur", | |
"height": 0.7, | |
"weight": 6.9, | |
"species": "Seed Pokémon", | |
"types": [ | |
"poison", | |
"grass" |