In grub menu select autoline and press
e. Find the line which is started with
linux and append
to the end of this. After you will boot it (Ctrl-x), you will get a root shell immediately. But the filesystme will be in the readonly mode. To fix it execute:
mount -o remount, rw /
If you see
signature from "Antergos Build Server (Automated Package Build System) <email@example.com>" is unknown trust
sudo pacman-key --refresh-keys sudo pacman -Sy antergos-keyring
curl -d @message.xml -H "Content-Type: text/xml; charset=utf-8" "endpoint"
rename "s/DCIM/2010/" *
This command replace DCIM to 2010 in names of all directorie's files.
Add full permissions for a folder:
setfacl -Rm u:ubuntu:rwx /opt/folder
Full permissions for folder and new entities in folder:
setfacl -Rm d:u:ubuntu:rwx /opt/folder
If you want to exclude one file from resource, you may use this snippet:
If you want to add new resource folder to Gradle build, use this snippet:
.java (.groovy and *scala) file will be skipped on build from resources.
It's easy. Just add to somewhere after your task definition:
dbmaintain is plugin (best for my opinion) that allowes to safely migrate dbscheme. It has excellent support for Maven and Ant but not for Gradle. But Gradle has excellent support for Ant, so we can call dbmaintain ant tasks from Gradle build script.
A small note - I prefer to not contain any libraries in my source code repository (Git currently), so dbmaintain will be loaded from the maven's central repository.
This text don't cover work with dbmaintain. If you need more information about…
To build WAR by Gradle system change java plugin to war plugin:
apply plugin: 'war'
After that execute gradle:
WAR will be in folder