- create branch feature from master (important)
- doing…. {a lot duplicate commit}
- clone branch feature with name feat/{feature}-dev (tmp)
- git rebase -i origin/master + squash (biar satu commit)
- git push origin feat/{feature}-dev -f
- create merge request / pull request to branch development
See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
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
| -- Merging decision tree log --- | |
| application | |
| INJECTED from /Users/febritecno/PROJECT/KANTOR/dteksi/dteksi/android/app/src/main/AndroidManifest.xml:16:4-48:19 | |
| MERGED from [:url_launcher_android] /Users/febritecno/PROJECT/KANTOR/dteksi/dteksi/build/url_launcher_android/intermediates/merged_manifest/release/AndroidManifest.xml:9:5-14:19 | |
| MERGED from [:url_launcher_android] /Users/febritecno/PROJECT/KANTOR/dteksi/dteksi/build/url_launcher_android/intermediates/merged_manifest/release/AndroidManifest.xml:9:5-14:19 | |
| MERGED from [:open_filex] /Users/febritecno/PROJECT/KANTOR/dteksi/dteksi/build/open_filex/intermediates/merged_manifest/release/AndroidManifest.xml:12:5-23:19 | |
| MERGED from [:open_filex] /Users/febritecno/PROJECT/KANTOR/dteksi/dteksi/build/open_filex/intermediates/merged_manifest/release/AndroidManifest.xml:12:5-23:19 | |
| MERGED from [androidx.window:window:1.0.0-beta04] /Users/febritecno/.gradle/caches/transforms-3/43a316513d040e99de62269fc41a9c7e/transformed/jetified-window-1.0.0-beta04/AndroidManifest.xml:24 |
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
| name: Build Flutter APKs & Appbundle | |
| on: push | |
| jobs: | |
| # Build APKs | |
| build_apks: | |
| name: Build APKs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code |
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
| // handle null and handle deepest data json | |
| T? resolve<T>({ | |
| required Map<String, dynamic>? json, | |
| required String path, | |
| T? defaultValue, | |
| }) { | |
| try { | |
| if (json == null) { | |
| return defaultValue; |
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
| // prefs_secure, rx_prefs, prefs | |
| import 'package:flutter/foundation.dart'; | |
| class Prefs { | |
| static SharedPreferences? _prefs; | |
| // call this method from iniState() function of mainApp(). | |
| static Future<SharedPreferences?> init() async { | |
| _prefs = await SharedPreferences.getInstance(); |
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:get/get.dart'; | |
| import 'package:dio/dio.dart'; | |
| void main() { | |
| runApp(GetMaterialApp( | |
| initialRoute: '/home', | |
| getPages: [ | |
| GetPage( | |
| name: '/home', |
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
| // onRequest(config) | |
| // onResponse(response) | |
| // onError(err) | |
| // onRequestError(err) | |
| // onResponseError(err) | |
| // $axios.interceptors.response.use(res) | |
| import swal from "sweetalert2"; | |
| export default function ({ | |
| $axios, | |
| $storage, |
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
| // gitlab variable -> $TOKEN_V2_JSON | |
| image: mahdigharooni/flutter:latest #It is my flutter docker image, ok | |
| stages: | |
| - deploy | |
| flutter_deploy: | |
| stage: deploy | |
| before_script: |