create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| ### Install few required packages to run SNX | |
| sudo dnf install -y java-1.8.0-openjdk.x86_64 icedtea-web.x86_64 libstdc++.i686 libX11.i686 libpamtest.i686 libnsl.i686 | |
| ### Download compat-libstdc++ driver and install it | |
| wget https://rpmfind.net/linux/centos/7.8.2003/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.i686.rpm | |
| sudo dnf -y install /home/users/Downloads/compat-libstdc++-33-3.2.3-72.el7.i686.rpm | |
| ### Install snx_linux.sh | |
| ### Download snx_linux_30.sh file from Checkpoint | |
| ### URL: https://dl3.checkpoint.com/paid/72/72c2c91791690927da0586ec873430cf/snx_install_linux30.sh?HashKey=1603971253_4c1ac35db21425fb73a79bccf775b006&xtn=.sh |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| import android.util.Log | |
| import okhttp3.HttpUrl | |
| import okhttp3.Interceptor | |
| import okhttp3.Response | |
| import java.io.IOException | |
| import java.util.* | |
| class FilterableLoggingInterceptor(private val interceptor: Interceptor) : Interceptor { | |
| private val criterias = HashSet<Criteria>() |
| // Chooses production.properties file if exist | |
| // otherwise uses stub.properties which is under git | |
| def prodConfigProps = new Properties() | |
| if (rootProject.file("production.properties").exists()) { | |
| prodConfigProps.load(new FileInputStream(rootProject.file("production.properties"))) | |
| print("Project configured to use ${rootProject.file("production.properties").absolutePath} production config") | |
| } else { | |
| prodConfigProps.load(new FileInputStream(rootProject.file("stub.properties"))) | |
| print("Project configured to use ${rootProject.file("stub.properties").absolutePath} production config") |
| Use folowing steps to repackage dep package: | |
| 1: Extract deb package | |
| # dpkg-deb -x <package.deb> <dir> | |
| 2: Extract control-information from a package | |
| # dpkg-deb -e <package.deb> <dir/DEBIAN> | |
| 3. After completed to make changes to the package, repack the deb | |
| # dpkg-deb -b <dir> <new-package.deb> |
| # Clone the repo using --mirror option | |
| git clone --mirror http://old.host/Project | |
| # Add new remote | |
| cd Project | |
| git remote add newremote git@new.remote/Project | |
| # Push everything to newremote | |
| git push newremote --mirror |
| { | |
| "localInspection": [ | |
| { | |
| "language": "JAVA", | |
| "shortName": "UndesirableClassUsage", | |
| "displayName": "Undesirable class usage", | |
| "groupName": "IntelliJ IDEA Platform Inspections", | |
| "enabledByDefault": "true", | |
| "level": "WARNING", | |
| "implementationClass": "com.intellij.codeInspection.internal.UndesirableClassUsageInspection" |