Skip to content

Instantly share code, notes, and snippets.

♿️
I would love to help you with accessibility in your open-source project

René Stalder renestalder

♿️
I would love to help you with accessibility in your open-source project
Block or report user

Report or block renestalder

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gulp-patternlab.js
/******************************************************
* PATTERN LAB NODE
* EDITION-NODE-GULP
* The gulp wrapper around patternlab-node core, providing tasks to
* interact with the core library and move supporting frontend assets.
******************************************************/
import gulp from 'gulp';
import path from 'path';
import browserSyncLib from 'browser-sync';
import minimist from 'minimist';
@renestalder
renestalder / Brewfile
Last active Nov 27, 2018
Brew / Cask packages for Interaction Designers. Use https://github.com/Homebrew/homebrew-bundle to install.
View Brewfile
cask_args appdir: '~/Applications'
tap 'caskroom/cask'
tap 'homebrew/bundle'
tap 'homebrew/core'
tap 'homebrew/dupes'
tap 'homebrew/php'
tap 'homebrew/versions'
brew 'curl', args: ['with-libssh2']
brew 'gcc'
brew 'git'
@renestalder
renestalder / keybindings.json
Created Aug 22, 2016
Visual Studio Code Keybindings
View keybindings.json
[
{
"key": "cmd+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "cmd+shift+i",
"command": "editor.action.format",
"when": "editorTextFocus"
},
@renestalder
renestalder / _wordpress-theme-child-translate.md
Last active Sep 30, 2015
Translate WordPress theme via child theme
View _wordpress-theme-child-translate.md
  1. Paste the code snipped in the functions.php of the child theme
  2. Add languagesfolder to your child theme and add translated language files
@renestalder
renestalder / wp_gallery_style.css
Created Aug 25, 2015
WordPress Gallery Default Style
View wp_gallery_style.css
View gist:6786d144655db47d4dd2
@echo off
setlocal EnableDelayedExpansion
set fileDir=%~f1
if exist "%fileDir%\config.rb" goto :build
:search
for /r "tokens=* delims=;" %%F in ("%fileDir%\..") do if not exist "%fileDir%\config.rb" (
if "%fileDir%" neq "%%~fF" (
set "fileDir=%%~fF"
@renestalder
renestalder / _README.md
Last active Aug 29, 2015
A (cross-browser) CSS utility class for preserving pixels when scaling up images
@renestalder
renestalder / README.md
Last active May 21, 2019
Unfollow all on Facebook
View README.md

Facebook: Unfollow people and pages

  1. Open news feed preferences on your Facebook menu (browser)
  2. Click people or pages
  3. Scroll down (or click see more) until your full list is loaded
  4. Run the script in your browser console

Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.

@renestalder
renestalder / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View groupArray.js
function groupBy( array , f )
{
var groups = {};
array.forEach( function( o )
{
var group = JSON.stringify( f(o) );
groups[group] = groups[group] || [];
groups[group].push( o );
});
return Object.keys(groups).map( function( group )
You can’t perform that action at this time.