Skip to content

Instantly share code, notes, and snippets.

View yochem's full-sized avatar

Yochem van Rosmalen yochem

View GitHub Profile
@yochem
yochem / fritzing.less
Created October 23, 2017 18:27
Fritzing File-Icons Atom
// 1. Download icon at https://upload.wikimedia.org/wikipedia/commons/a/a8/Fritzing_icon_%28new%29.png
// 2. Copy in terminal: $ mv "~/Downloads/Fritzing_icon_(new).png" ~/.atom/packages/fritzingicon.png
// Put this in your styles.less (Settings/Themes/Your stylesheet):
// Fritzing icon for .fzz extensions
.icon[data-name$=".fzz"]:before,
.icon[data-name$=".fzpz"]:before {
background-image: url("atom://fritzingicon.png");
background-size: 120%;
@yochem
yochem / stylus-in-gulp.js
Last active February 20, 2017 18:31
Using stylus in Gulp
# stylus plugin from https://github.com/stevelacy/gulp-stylus
# include this require in the variables on top
var stylus = require('gulp-stylus');
# Gulp task
gulp.task('stylus', function () {
return gulp.src('_stylus/*.styl')
.pipe(stylus({
includePaths: ['stylus'],