Skip to content

Instantly share code, notes, and snippets.

Stanislav c01nd01r

Block or report user

Report or block c01nd01r

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View forin.less
// usage:
@badge-colors: blue #7FB3D4, gray #767676, green #8CC079, red #b35d5d;
.make-classes(badge, @badge-colors);
// impl.:
.make-classes(@prefix, @list) {
c01nd01r / breadcrumbs.vue
Last active Dec 5, 2016
Bootstrap breadcrumbs WIP
View breadcrumbs.vue
<ol class="breadcrumb">
<!-- Вычисление последнего элемента -->
<li v-for="(link, index) in links" :class="{active: (lastLink === link)}">
<router-link :to="link.href" v-if="routing && !(lastLink === link)">{{link.title}}</router-link>
<a :href="link.href" data-lol v-else-if="!(lastLink === link)">{{link.title}}</a>
<span v-else="(lastLink === link)">{{link.title}}</span>
<!-- Последний элемент по свойству current из внешнего объекта -->
c01nd01r / index.html
Last active Dec 4, 2016 — forked from anonymous/index.html
JS Bin[Custom tag for Vue.JS component container]// source
View index.html
<!DOCTYPE html>
<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>
<div id="myApp">
c01nd01r / component.vue
Last active Dec 1, 2016
[idea] vue.js component documentation
View component.vue
<h1><scope>Header Component</scope></h1>
export default {
name: 'my-head',
c01nd01r / vue.json
Last active Nov 30, 2016
Vue component snipet. VS code
View vue.json
"template": {
"prefix": "template",
"body": [
"description": "Vue element"
View vscode.json
// Поместите параметры в этот файл, чтобы перезаписать параметры по умолчанию.
"editor.fontFamily": "Segoe UI",
"editor.fontSize": 16,
"editor.formatOnType": true,
"editor.fontLigatures": true,
"editor.renderWhitespace": true,
"files.trimTrailingWhitespace": true,
"beautify.onSave": false,
View .bash_profile
alias subl='/Applications/Sublime\'
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
View boo-nav.js
"test": [{
title: "Test",
className: "test-class",
dropdown: [{
title: 'Test',
className: "test-class"
View app.vue
<div id="app">
<input type="text" v-filter="'[a-zA-Z]'" v-model="message">
c01nd01r / .eslintrc
Created Aug 24, 2016
Airbnb ES5 eslintrc
View .eslintrc
"extends": "airbnb-base/legacy"
You can’t perform that action at this time.