This file contains hidden or 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
syntax on | |
set tabstop=4 | |
set softtabstop=4 | |
set expandtab | |
set number | |
set showcmd | |
set cursorline | |
set list | |
set clipboard=unnamedplus | |
autocmd FileType js,html,css,scss,json,vue,twig,php,cs,yml,lua,md,txt autocmd BufWritePre <buffer> %s/\s\+$//e |
This file contains hidden or 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
(function ($) { | |
var allowedKeys; | |
// Allow left, right, tab, backspace, delete and escape | |
allowedKeys = [8, 9, 37, 39, 46, 27]; | |
$.fn.numberField = function () { | |
return this.each(function () { | |
$(this).on('keypress', function (event) { | |
var character; |
This file contains hidden or 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
<body> | |
<main class="content"> | |
<header class="primary-header"> | |
<nav class="primary-navigation"> | |
<ul class="navigation-items"> | |
<li class="navigation-item"><a href="#">Link</a></li> | |
<li class="navigation-item"><a href="#">Link</a></li> | |
<li class="navigation-item"><a href="#">Link</a></li> | |
</ul> | |
</nav> |
This file contains hidden or 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
.parent-selector { | |
@extend %pattern; // Extend a placeholder | |
@extend %another-pattern; // Extend another placeholder | |
@include simple-mixin(); // Include a single line mixin | |
@include another-simple-mixin(); // Include another single line mixin | |
position: relative; // Positioning | |
top: 0; | |
bottom: 0; |
This file contains hidden or 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
// | |
// First Level Heading | |
// --------------------------------------------------- | |
// | |
// First Level Heading | |
// _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- | |
// * * * * * * * * * * * * * * * * * * * * * * * * * * | |
// * First Level Heading * |