Let's take example
as our new project name:
-
Create and open the directory
mkdir example
cd example
import 'package:dio/dio.dart'; | |
import 'package:expenza/config/injectable.dart'; | |
import 'package:expenza/domain/user_preferences.dart'; | |
import 'package:expenza/utils/log.utils.dart'; | |
const String _tag = 'JwtInterceptor'; | |
/// Jwt Interceptor. | |
/// | |
/// This class provides the Jwt from the user's session to the request's header |
import 'dart:async'; | |
import 'package:expenza/constants/global.constants.dart'; | |
import 'package:expenza/domain/resource.dart'; | |
import 'package:expenza/utils/log.utils.dart'; | |
const String _tag = 'BaseRepository'; | |
/// Base Repository that wraps all the app's repositories. | |
/// |
import 'dart:io'; | |
import 'package:dio/dio.dart'; | |
import 'package:expenza/constants/global.constants.dart'; | |
import 'package:expenza/domain/resource.dart'; | |
import 'package:expenza/network/dto/base.dto.dart'; | |
import 'package:expenza/utils/log.utils.dart'; | |
import 'package:expenza/utils/pagination.utils.dart'; | |
import 'package:retrofit/dio.dart'; |
import 'package:expenza/domain/models/type/json_map.type.dart'; | |
import 'package:expenza/network/dto/pagintor.dto.dart'; | |
import 'package:json_annotation/json_annotation.dart'; | |
import 'package:meta/meta.dart'; | |
part 'resource.g.dart'; | |
/// The types of status used for the api/database calls responses. | |
/// | |
/// - author - @ehbc221 |
import 'dart:io'; | |
import 'package:expenza/config/injectable.dart'; | |
import 'package:expenza/config/my_http_overrides.dart'; | |
import 'package:expenza/constants/api.constants.dart'; | |
const String baseUrlKey = 'baseUrl'; | |
const String environmentKey = 'ENVIRONMENT'; | |
/// The application's environments. |
/// Wrapper for all the criterias. | |
/// | |
/// - author - @ehbc221 | |
/// - version - 1.0.0 | |
/// - last updated - June 8th, 2023 | |
mixin Criteria { | |
Criteria copy(); | |
/// The search page. | |
abstract final int? page; |
from getopt import getopt, GetoptError | |
from json import load, loads, dumps | |
from os import listdir, SEEK_END | |
from os.path import isfile, isdir, join | |
from sys import argv, exit, stdout | |
# Query Yes or No to the user | |
def query_yes_no(question, default="yes"): | |
"""Ask a yes/no question via raw_input() and return their answer. |
cd C:\Program Files\Docker\Docker | |
DockerCli.exe -SwitchDaemon |