Skip to content

Instantly share code, notes, and snippets.

View samuells's full-sized avatar
:octocat:
{...💚}

Samuel Snopko samuells

:octocat:
{...💚}
View GitHub Profile
@samuells
samuells / swapStoryblokContentTranslations.js
Last active April 3, 2019 14:08
Little script to swap field translation of Storyblok content
'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 November 4, 2018 15:46
Linting SCSS files with settings for orders in logical chunks
{
"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 19:49
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-05-31T19:49:11.698Z","extensionVersion":"v3.2.9"}
@samuells
samuells / cloudSettings
Created September 9, 2018 20:12
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-09-09T20:12:18.425Z","extensionVersion":"v3.1.2"}