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
#!/bin/bash | |
# This command expects two params. | |
# First param is the directory of the png. | |
# Second param is the directory of the webp. | |
# It will traverse the first directory and compare that file with the same webp in the second directory | |
# This script requires to download similar script from http://www.fmwconcepts.com/imagemagick/similar/index.php | |
# and leave it the same directory as this script. This script will be the one leveraging imagemagick | |
pngDir=$1 | |
webpDir=$2 | |
find $1 -name "*.png" | cut -sd / -f 11- | sed 's/\.png$//1'|while read fname; do |
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
android { | |
// ... | |
testOptions.unitTests.all { | |
testLogging { | |
events 'passed', 'skipped', 'failed', 'standardOut', 'standardError' | |
} | |
} | |
} |
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
package com.aracem.utils.animations.pagetransformation; | |
import org.jetbrains.annotations.NotNull; | |
import android.support.v4.view.ViewPager; | |
import android.view.View; | |
import java.util.ArrayList; | |
import java.util.List; |