Suppose your Secondary development folder path is:
/Users/swalahamani/DEV/SecondDevHomeConfigure your Users/swalahamani/.gitconfig file like the below:
[core]| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package com.swalahamani.ts.test; | |
| import java.sql.Connection; | |
| import java.sql.DriverManager; | |
| import java.sql.ResultSet; |
| ############################################################################## | |
| # react-native helper commands BEG | |
| export ANDROID_APP_BUNDLE=com.example.appname | |
| export ANDROID_DEV_DEVICE_IP=192.168.1.52 # your android device ip | |
| export ANDROID_DEV_DEVICE_PORT=8978 # your android device debug port | |
| export ANDROID_DEV_DEBUG_APK_PATH=./android/app/build/outputs/apk/debug/app-debug.apk | |
| export ANDROID_DEV_RELEASE_APK_PATH=./android/app/build/outputs/apk/release/app-release.apk | |
| #to simplify react-native cli usage |
| /** | |
| * The implementation of this is heavily inspired from the article: | |
| * https://ourcodeworld.com/articles/read/1544/how-to-implement-a-timeout-for-javascript-promises | |
| */ | |
| /** | |
| * Waits the execution till passed milliseconds. | |
| * | |
| * @param {*} milliseconds |
A bash script to automate MySQL database dumps with customizable filename prefixes and timestamp patterns. This script dynamically generates the dump file name using the format:
<prefix>_<env>_YYYYMMDDHHmmss_TIMEZONE.sql