var i = -1,
arr1 = [],
arr2 = [],
arr3 = [],
arr4 = [],
randomNumber;
Live demo https://jsfiddle.net/Kolosovsky/tdqv6pk2/
let points = [
{ x: 125, y: 50 },
{ x: 250, y: 65 },
- Theory https://dev.opera.com/articles/understanding-the-css-transforms-matrix/
- Theory https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Matrix_math_for_the_web
- Live demo https://jsfiddle.net/Kolosovsky/rkqfzttk/
function multiplyMatrices(matrixA, matrixB) {
let aNumRows = matrixA.length;
let aNumCols = matrixA[0].length;
This file contains 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
repositories=( 'path/to/repo1' 'path/to/repo2' 'path/to/repo2' ) | |
for i in "${repositories[@]}" | |
do | |
cd $i; | |
if [ -z "$(git status --porcelain)" ]; then | |
echo "repo is clean: $i"; | |
else | |
git add . && git commit -m 'message'; | |
fi |