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
<resources> | |
<public name="lib_app_name" type="string"/> | |
</resources> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
parse_firebase_branch() { | |
cat .firebaserc 2>/dev/null | grep default | sed 's/^.\{16\}//' | sed 's/.$//' | |
} | |
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_firebase_branch)\[\033[00m\] $ " |
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
;WITH USER_BY_TAG | |
AS | |
( | |
SELECT | |
ROW_NUMBER() OVER(ORDER BY COUNT(*) DESC) Rank, | |
u.Location, | |
COUNT(*) AS UpVotes | |
FROM Tags t | |
INNER JOIN PostTags pt ON pt.TagId = t.id |
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/sh | |
read -p "Have the feature been tested? (y/N):" answer | |
if [[ "$answer" != "y" ]]; then | |
exit 1 | |
fi | |
read -p "Have you updated your Jira? (y/N):" answer | |
if [[ "$answer" != "y" ]]; then | |
exit 1 | |
fi | |
read -p "Have you created a test version? (y/N):" answer |
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/sh | |
name_of_branch=$(git branch | grep "*" | sed "s/\* //") | |
if [[ $name_of_branch == "master" ]]; then | |
read -p "Branch successfully merged on master. Please, specify tag version and click enter: " version | |
echo Creating tag with version "$version" | |
git tag -a v$version -m "$version" | |
fi |
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/sh | |
echo "Running detekt" | |
./gradlew detektCheck | |
result=$? | |
if [ "$result" = 0 ] ; then | |
echo "Detekt found no problems" | |
exit 0 | |
else |
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/sh | |
echo "Running detekt" | |
./gradlew detektCheck | |
result=$? | |
if [ "$result" = 0 ] ; then | |
echo "Detekt found no problems" | |
exit 0 | |
else |
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 | |
command="./gradlew clean test" | |
echo "Executing tests before commit" | |
$command | |
result=$? | |
if [ "$result" -ne 0 ]; then | |
echo "Failed execution of tests" | |
exit 1 | |
fi | |
exit 0 |
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
byte[] keyStart = getSecretKey().getBytes(); |