Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
{...💚}

Samuel Snopko samuells

:octocat:
{...💚}
View GitHub Profile
@samuells
samuells / swapStoryblokContentTranslations.js
Last active Apr 3, 2019
Little script to swap field translation of Storyblok content
View swapStoryblokContentTranslations.js
'use strict'
const StoryblokClient = require('storyblok-js-client')
// ******* START
// YES&NO Prompt handler
// thx to https://www.npmjs.com/package/yesno
const options = {
yes: [ 'yes', 'y' ],
no: [ 'no', 'n' ]
@samuells
samuells / .stylelintrc
Created Nov 4, 2018
Linting SCSS files with settings for orders in logical chunks
View .stylelintrc
{
"extends": [
"stylelint-config-standard",
"stylelint-config-sass-guidelines",
"./node_modules/prettier-stylelint/config.js"
],
"plugins": [
"stylelint-scss",
"stylelint-order",
"stylelint-a11y",
@samuells
samuells / cloudSettings
Last active May 31, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-05-31T19:49:11.698Z","extensionVersion":"v3.2.9"}
@samuells
samuells / cloudSettings
Created Sep 9, 2018
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2018-09-09T20:12:18.425Z","extensionVersion":"v3.1.2"}