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
import os | |
import xml.etree.ElementTree as ET | |
from typing import List, Dict | |
""" | |
Usage: (Run this script from scripts/ folder) | |
python3 invalid_strings_detector.py | |
- To run from another path, please change PATH_TO_APP_MODULE variable in this script |
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
1806133780:Firdaus Al-ghifari | |
1806133824:Ahmad Haulian Yoga Pratama | |
1806133875:Galangkangin Gotera | |
1806141126:Aji Inisti Udma Wijaya | |
1806141164:David Fernando Aritonang | |
1806141201:Hana Fadhila Ardiansyah | |
1806141246:Intan Fadilla Andyani | |
1806141284:Mahardika Krisna Ihsani | |
1806141321:Muhamad Adhytia Wana Putra Rahmadhan | |
1806141366:Muhammad Raihan |
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
stages: | |
- test | |
- deploy | |
variables: | |
DOCKER_IMAGE_PREFIX: "registry.docker.ppl.cs.ui.ac.id/pplb4" | |
REPO_NAME: "gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2019/PPLB4" | |
back-end:test: | |
stage: test |
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
FROM adalberht/flutter-android | |
RUN flutter doctor | |
RUN apt-get update && apt-get install gnupg -y | |
# Install Node.js | |
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - \ | |
&& apt-get install -y nodejs |
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 | |
npm install --global appcenter-cli | |
flutter build apk --build-name=$BUILD_NAME --build-number=$BUILD_NUMBER | |
appcenter login --token $APPCENTER_TOKEN | |
appcenter distribute release -f build/app/outputs/apk/release/app-release.apk --app $APPCENTER_APP_NAME --group $APPCENTER_TARGET_GROUP_NAME |
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
back-end:test: | |
stage: test | |
image: golang | |
only: | |
changes: | |
- back-end/**/* | |
- .gitlab-ci.yml | |
- Dockerfile | |
before_script: | |
- mkdir -p $GOPATH/src/$REPO_NAME |
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
.deployment-script: &deployment-script | |
image: gitlab/dind:latest | |
stage: deploy | |
tags: | |
- docker | |
before_script: | |
- docker info | |
- if [ $CI_COMMIT_TAG ]; then DOCKER_IMAGE_VERSION=$CI_COMMIT_TAG; else DOCKER_IMAGE_VERSION=$CI_COMMIT_SHA_SHORT; fi | |
- if [ ! $DOCKER_IMAGE_VERSION ]; then DOCKER_IMAGE_VERSION=latest; fi | |
script: |
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
import 'package:flutter/material.dart'; | |
import 'package:flutter_test/flutter_test.dart'; | |
import 'package:frontend/image_picker_bottom_sheet.dart' | |
as ImagePickerBottomSheet; | |
void main() { | |
testWidgets( | |
'Bottom sheet should appear and show choose from gallery or take a new picture text', | |
(WidgetTester tester) async { | |
BuildContext savedContext; |
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
import 'dart:io'; | |
import 'package:flutter/material.dart'; | |
final kChooseFromGalleryText = "Choose from gallery"; | |
final kTakeANewPictureText = "Take a new picture"; | |
void showImagePickerBottomSheet(BuildContext context) async { | |
return showModalBottomSheet<void>( | |
context: context, |
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
testWidgets('Bottom sheet should appear and show correct icon', | |
(WidgetTester tester) async { | |
BuildContext savedContext; | |
await tester | |
.pumpWidget(MaterialApp(home: Builder(builder: (BuildContext context) { | |
savedContext = context; | |
return Container(); | |
}))); |
OlderNewer