Skip to content

Instantly share code, notes, and snippets.

import { camelCase } from 'lodash';
import gulp from 'gulp';
import sass from 'gulp-sass';
import postcss from 'gulp-postcss';
import transformClasses from 'postcss-transform-classes';
import autoprefixer from 'autoprefixer';
const keywordsThatAppearInBootstrap = {
in: '$in',
};
import gulp from 'gulp';
import sass from 'gulp-sass';
gulp.task('compile-bootstrap', () => (
gulp.src('scss/bootstrap.scss')
.pipe(sass())
.pipe(gulp.dest('styles'))
));
@jacobp100
jacobp100 / gist:20bda60c9f5127d95fdb
Created January 20, 2015 20:43
10 Fast Fingers
x=$('#inputfield'),y=setInterval(function(){(z=$('span.highlight')).length?x.val(z.text()).trigger({type:'keyup',which:32}):clearInterval(y)},10)
<!doctype html>
<meta charset=utf-8>
<title>Carousel</title>
<style>
body {
font: 200 12pt 'Helvetica Neue';
}
/* Fallback indifferent styles */
.carousel .menu li {
display: inline;
@jacobp100
jacobp100 / gist:9248b072319a99821a8d
Created December 13, 2014 17:31
Bootstrap collapsible sidebar
#content {
margin-left: 16em;
}
#sidebarContainer {
position: fixed;
top: 50px;
height: 100%;
width: 16em;
z-index: 1;