gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
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
let totalFuel = inputs.reduce( (acc, mass) => (acc + Math.floor((mass / 3 - 2 )), 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
//Loader Component | |
<template> | |
<div v-if="isVisible" class="loader-overlay"> | |
<div class="loader"></div> | |
<span class="text" v-html="text"></span> | |
</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
<template> | |
<input type="text" v-model="value"> | |
</template> | |
<script type="text/ecmascript-6"> | |
export default { | |
name: "slug", | |
props: { | |
title:{ default:"" } |
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
new Vue({ | |
el: "#app", | |
mounted() { | |
this.enableInterceptor() | |
}, | |
data: { | |
isLoading: false, | |
axiosInterceptor: null, | |
}, | |
methods: { |
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
[ | |
{ | |
"id": 1, | |
"name": "bulbasaur", | |
"height": 0.7, | |
"weight": 6.9, | |
"species": "Seed Pokémon", | |
"types": [ | |
"poison", | |
"grass" |
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)})
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 Form from "../../front-section/services/Form"; | |
Vue.component('user-form', { | |
data() { | |
return { | |
form: new Form(), | |
values: {}, | |
fileInput: {}, | |
} |