Skip to content

Instantly share code, notes, and snippets.

View rob-kistner's full-sized avatar

Rob Kistner rob-kistner

  • The Vomela Companies
  • Chicago, IL
View GitHub Profile
@rob-kistner
rob-kistner / gulpfile.js
Last active July 4, 2020 00:27
Gulp 4 - all functions
const { src, dest, watch, parallel, series, done } = require('gulp'),
fs = require('fs'),
gulpif = require('gulp-if'),
del = require('del'),
autoprefixer = require('gulp-autoprefixer'),
pug = require('gulp-pug'),
nunjucks = require('gulp-nunjucks'),
sass = require('gulp-sass'),
cleancss = require('gulp-clean-css'),
purgecss = require('gulp-purgecss'),
@rob-kistner
rob-kistner / vomela-vars-colors.scss
Created October 16, 2016 01:23
vomela colors (scss)
//- vomela brand colors
$blue: #004b98;
$gray: #415464;
$cyan: #00aeef;
$purple: #592c82;
$sb-cc: #96785e;
$sb-pp: #d39100;
$sb-sd: #c20430;
$sb-ee: #648c1c;
$sb-ft: #c14e00;
@rob-kistner
rob-kistner / .gitignore
Last active May 4, 2020 05:56
gitignore template
node_modules
.DS_Store
.DS_Store?
*.cache
@rob-kistner
rob-kistner / AI - Expand All.js
Last active October 18, 2017 03:04
Runs through 4 commands to expand a group of shapes with mixed fills & strokes to a single group of fills. This will essentially subtract all the overlapping areas to allow for a single fill shape at the end. Useful for creating a one color icon with a single path that has stroke knockouts.
function main() {
// errors feedback
var errs = [];
// Expand Appearance
try {
errs.push('Expand Appearance...ok\n');
app.executeMenuCommand('expandStyle');
} catch (e) {
@rob-kistner
rob-kistner / .bash_profile
Created November 6, 2017 14:32 — forked from lopespm/.bash_profile
Show git branch
# ---------------------------------------------------------------------------
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
# 6. Networking
# 7. System Operations & Information
@rob-kistner
rob-kistner / _helpers.scss
Last active October 9, 2020 01:07
SASS Various
/* -------------------------------------------------------
Creates margin and padding helper classes
Based on bootstrap 4's spacing helpers
Samples:
--------
.pt-3 {
padding: 3rem;
}
@rob-kistner
rob-kistner / bs-config.json
Created January 21, 2018 18:55
bs-config.json small setup (for Browser-Sync & Lite-Server)
{
"port": 8000,
"files": ["./src/**/*.{html,css,js}"],
"server": { "baseDir": "./src" }
}
// ----------------------------------------
// Hugo Giraudel's Simple Asset Helper Function on CSS-Tricks
// https://css-tricks.com/snippets/sass/simple-asset-helper-functions/
// ----------------------------------------
/// Base path for assets (fonts, images...),
/// should not include trailing slash
/// ----------------------------------------
/// @ access public
/// @ type String
@rob-kistner
rob-kistner / mixin-cover-div.scss
Last active December 23, 2025 14:49
SASS Mixins
@mixin cover-div {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@rob-kistner
rob-kistner / vscode-settings.json
Last active February 7, 2018 23:38
VIsual Studio Code Settings
// Place your settings in this file to overwrite the default settings
{
"editor.fontFamily": "Operator Mono",
"editor.fontWeight": "300",
"editor.fontLigatures": true,
"editor.fontSize": 17,
"editor.lineHeight": 21,
"editor.renderWhitespace": "boundary",
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",