Modify the following files and settings
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=false #Since Gradle 4.2, this is to be disabled, else can use it.
| private long mLastPostedTime = 0; | |
| private final long threshold = 1000; //1 second | |
| public void postExecution() | |
| { | |
| if (SystemClock.elapsedRealtime() - mLastPostedTime < threshold) { | |
| return; | |
| } | |
| mLastPostedTime = SystemClock.elapsedRealtime(); |
| # PS D:\vagrant_test> cat .\Vagrantfile | |
| # Prefix for LAN | |
| BRIDGE_NET="192.168.1." | |
| # Prefix for Internal LAN | |
| INTERNAL_NET="192.168.15." | |
| # The domain that we will use for the entire site | |
| DOMAIN="sample.com" | |
| # An array of hashes with settings for each virtual machine | |
| servers=[ | |
| { |
| wget https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz | |
| tar xvf gotty_linux_amd64.tar.gz | |
| chmod +x gotty | |
| sudo mv gotty /usr/local/bin/ | |
| gotty -version |
docker exec -it redis_server bash redis_server is name of docker container
chown redis:redis -R /etc making sure if the redis server has permissions to write
redis-cli > save enter the cli and save
cp /etc/crontab /tmp/backup.rdb copy from default location of redis docker dump to tmp
docker cp f47052fdc525:/tmp/backup.rdb /tmp/backup.rdb f47052fdc525 is the container id
I hereby claim:
To claim this, I am signing this object: