- Parallax.js Mobile support
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 subl='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl' | |
export PATH="/usr/local/mysql/bin:$PATH" | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\] \[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ \n| => " | |
export PS2="| => " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad |
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
// Поместите параметры в этот файл, чтобы перезаписать параметры по умолчанию. | |
{ | |
"editor.fontFamily": "Segoe UI", | |
"editor.fontSize": 16, | |
"editor.formatOnType": true, | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": true, | |
"files.trimTrailingWhitespace": true, | |
"beautify.onSave": false, | |
"jscs.enable":true, |
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": { | |
"prefix": "template", | |
"body": [ | |
"<template>", | |
"\t$1", | |
"</template>" | |
], | |
"description": "Vue element" | |
}, |
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> | |
<h1><scope>Header Component</scope></h1> | |
</template> | |
<script> | |
export default { | |
name: 'my-head', | |
} | |
</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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[Custom tag for Vue.JS component container]"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div id="myApp"> |
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
// usage: | |
@badge-colors: blue #7FB3D4, gray #767676, green #8CC079, red #b35d5d; | |
.make-classes(badge, @badge-colors); | |
// impl.: | |
.make-classes(@prefix, @list) { | |
.iter(length(@list)); |
- Vue.Draggable Based on Sortable.js
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="hello"> | |
<draggable :list="list" :options="{animation: 150}" > | |
<div v-for="element in list" class="element">{{element.name}}</div> | |
</draggable> | |
</div> | |
</template> | |
<script> | |
import draggable from 'vuedraggable'; |