This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require("gulp"), | |
streamqueue = require("streamqueue"), | |
less = require("gulp-less"), | |
autoprefixer = require("gulp-autoprefixer"), | |
minifyCss = require("gulp-minify-css"), | |
concat = require("gulp-concat"), | |
uglify = require("gulp-uglify"), | |
rename = require("gulp-rename"), | |
combine = require("stream-combiner2"), | |
es = require("event-stream"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function changeLetterCase(str, letterCase, firstLetterReversed) { | |
if (typeof str !== "string") { | |
throw Error(`First parameter - ${typeof str} but must be string`); | |
} | |
if (letterCase != "upper" && letterCase != "lower") { | |
throw Error( | |
`Invalid parameter - letterCase: "${letterCase}". Two valid options: lower and upper` | |
); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global rerere.enabled true && git config --global rerere.autoUpdate true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git fetch --all --prune; git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D; |