Skip to content

Instantly share code, notes, and snippets.

View yochem's full-sized avatar

Yochem van Rosmalen yochem

View GitHub Profile
@yochem
yochem / gitpull
Last active April 19, 2018 20:11
Pull all your git repo's at once
#!/usr/bin/env bash
# 1. Put this file in your $PATH
# $ echo $PATH
# $ mv gitpull path/to/YOUR_PATH/gitpull
#
# 2. make it executable
# $ cd YOUR_PATH && chmod +x gitpull
#
# 3. now create a file '.gitrepos.txt' in your home directory
@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'],