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
| #crumbs ul li a { | |
| display: block; | |
| float: left; | |
| height: 50px; | |
| background: #3498db; | |
| text-align: center; | |
| padding: 30px 40px 0 40px; | |
| position: relative; | |
| margin: 0 10px 0 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
| var lr = require('tiny-lr'), | |
| gulp = require('gulp'), | |
| stylus = require('gulp-stylus'), | |
| livereload = require('gulp-livereload'), | |
| prefix = require('gulp-autoprefixer'), | |
| csslint = require('gulp-csslint'), | |
| myth = require('gulp-myth'), | |
| server = lr(); |
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
| Сам плагин для галпа: https://github.com/gratimax/gulp-grunt | |
| Плагин для спрайтов: https://github.com/Ensighten/grunt-spritesmith |
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
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var express = require('express'); | |
| var path = require('path'); | |
| var tinylr = require('tiny-lr'); | |
| var createServers = function(port, lrport) { | |
| var lr = tinylr(); | |
| lr.listen(lrport, function() { | |
| gutil.log('LR Listening on', lrport); |
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
| link(rel='icon', sizes='16x16 32x32 48x48 64x64', href='favicon.ico') | |
| link(rel='shortcut icon', href='favicon.ico') | |
| link(rel='apple-touch-icon-precomposed', href='favicon-152.png') | |
| meta(name='msapplication-TileColor', content='#FFFFFF') | |
| meta(name='msapplication-TileImage', content='favicon-144.png') | |
| meta(name='msapplication-square70x70logo', content='favicon-70.png') | |
| meta(name='msapplication-square150x150logo', content='favicon-150.png') | |
| meta(name='msapplication-square310x310logo', content='favicon-310.png') | |
| link(rel='apple-touch-icon-precomposed', sizes='152x152', href='favicon-152.png') | |
| link(rel='apple-touch-icon-precomposed', sizes='144x144', href='favicon-144.png') |
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
| diff -Nru prl_fs.orig/SharedFolders/Guest/Linux/prl_fs/inode.c prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c | |
| --- prl_fs.orig/SharedFolders/Guest/Linux/prl_fs/inode.c 2013-11-11 17:56:58.000000000 +0200 | |
| +++ prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c 2013-11-29 20:41:53.689167040 +0200 | |
| @@ -199,10 +199,18 @@ | |
| if (attr->valid & _PATTR_MODE) | |
| inode->i_mode = (inode->i_mode & S_IFMT) | (attr->mode & 0777); | |
| if ((attr->valid & _PATTR_UID) && | |
| - (sbi->plain || sbi->share || attr->uid == -1)) | |
| +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) | |
| + (sbi->plain || sbi->share || __kuid_val(attr->uid) == -1)) |
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
| // Собираем Stylus | |
| gulp.task('stylus', function() { | |
| gulp.src('./assets/b/blocks.styl') | |
| .pipe(plumber()) | |
| .pipe(stylus()) // собираем stylus | |
| .pipe(prefix()) | |
| .pipe(gulp.dest('./public/css/')) // записываем css | |
| .pipe(browserSync.reload({stream:true})) | |
| }); |
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( window, document ) | |
| { | |
| 'use strict'; | |
| var file = './img/svghtml.html', | |
| revision = 1, | |
| debug = true; | |
| if( !document.createElementNS || !document.createElementNS( 'http://www.w3.org/2000/svg', 'svg' ).createSVGRect ) | |
| return true; |
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
| "use strict"; | |
| var gulp = require("gulp"), | |
| postcss = require("gulp-postcss"), | |
| gulp = require("gulp"), | |
| csso = require("gulp-csso"), | |
| replace = require('gulp-replace'), | |
| prefix = require("postcss-prefix-selector"), | |
| empty = require('postcss-discard-empty'), | |
| rename = require("gulp-rename"), | |
| filterDeclarations = require("postcss-filter-declarations"); |
OlderNewer