This is log format for https://lnav.org.
Regex can be improved but it works quite well for me. Send me pull requests if you have a better soution.
{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"aem": {
We want to send an email with the following requirements:
We will use the following NodeJS library
Licensed to: ASIO Allsoftinone Quantity: 1 user Serial number: 1822-9597 License type: Pro Edition for Linux
First delete away trial mode:
sudo sed -i "s/keexjEP3t4Mue23hrnuPtY4TdcsqNiJL-5174TsUdLmJSIXKfG2NGPwBL6vnRPddT7tH29qpkneX63DO9ECSPE9rzY1zhThHERg8lHM9IBFT+rVuiY823aQJuqzxCKIE1bcDqM4wgW01FH6oCBP1G4ub01xmb4BGSUG6ZrjxWHJyNLyIlGvOhoY2HAYzEtzYGwxFZn2JZ66o4RONkXjX0DF9EzsdUef3UAS+JQ+fCYReLawdjEe6tXCv88GKaaPKWxCeaUL9PejICQgRQOLGOZtZQkLgAelrOtehxz5ANOOqCaJgy2mJLQVLM5SJ9Dli909c5ybvEhVmIC0dc9dWH+/N9KmiLVlKMU7RJqnE+WXEEPI1SgglmfmLc1yVH7dqBb9ehOoKG9UE+HAE1YvH1XX2XVGeEqYUY-Tsk7YBTz0WpSpoYyPgx6Iki5KLtQ5G-aKP9eysnkuOAkrvHU8bLbGtZteGwJarev03PhfCioJL4OSqsmQGEvDbHFEbNl1qJtdwEriR+VNZts9vNNLk7UGfeNwIiqpxjk4Mn09nmSd8FhM4ifvcaIbNCRoMPGl6KU12iseSe+w+1kFsLhX+OhQM8WXcWV10cGqBzQE9OqOLUcg9n0krrR3KrohstS9smTwEx9olyLYppvC0p5i7dAx2deWvM1ZxKNs0BvcXGukR+/g" /usr/lib/beyondcompare/BCompare
In many scenarios, we face trouble to stop AEM/CQ5 instances, even after stopping the service, the java instance keeps on running. The best way to stop an AEM instance is through the following command
[priv_user@some-server home_directory]# pid=`fuser -k -TERM 450{2,3}/tcp` && cd /mnt/crx/*/crx-quickstart && time tail -n0 -f --pid $pid logs/error.log && mv -v logs/error.log{,.`date +%F+%R`} && find launchpad/felix -name digraph -ls -delete
If you want find out that a property exists in JCR, then use the query debug tool with the following query
type=nt:unstructured
path=/content/bt/business
property=formname
property.operation=exists
p.hits=full
p.limit=-1
#How to set network IP Static/DHCP using Powershell in Windows 8 and above
This is a powershell script to set IP address for a network adapter using Powershell and restart the network adapter after it completes. Follow the below steps and detailed information about the parameters below.
Create a ps1
file using the below code
# Author: Munim ([email protected])
Create a batch file, put the below script in and run it as administrator.
@echo "Setting static IP."
@netsh interface ip set address "Ethernet0" static 192.168.1.100 255.255.255.0 192.168.1.1
@echo "Setting DNS."
@netsh interface ip set dns "Ethernet0" static 8.8.8.8