How Install and Configure OpenLDAP on CentOS / RHEL Linux
How to Add LDAP Users and Groups in OpenLDAP on Linux
#!/bin/bash
#title :uninstall-java.sh
#description :The script to uninstall java-1.7.0-openjdk from CentOs 7 (Gnome Desktop)
#author :Michael Bornholdt Nielsen
#date :20151013
#usage :/bin/bash uninstall-java.sh
rpm -e unoconv-0.6-7.el7
rpm -e libreoffice-calc
libreoffice-core
libreoffice-draw
libreoffice-graphicfilter
libreoffice-impress
libreoffice-langpack-en
libreoffice-opensymbol-fonts
libreoffice-pdfimport
libreoffice-pyuno
libreoffice-ure
libreoffice-writer
rpm -e jline-1.0-8.el7
rhino-1.7R4-5.el7
icedtea-web-1.5.2-0.el7
rpm -e java-1.7.0-openjdk java-1.7.0-openjdk-headless
Managing JBossAS7 with HTTP-JSON APIs using wget
Get messaging-activemq resource:
http://localhost:9990/management/subsystem/messaging-activemq/server/default/:read-resource
http://localhost:9990/management/subsystem/messaging-activemq/server/default?operation=resource&recursive&json.pretty
Getting Started with Code Coverage by Jacoco
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
Prints header and json as one long string
curl -u <username>:<password> -i -H "Accept: application/json" http://localhost:28080/dff/resources/meddelelser/tds2/a3c2c038-7b70-4059-8721-389831736089
Prints no header but json in pretty format
curl -u <username>:<password> -H "Accept: application/json" http://localhost:28080/dff/resources/meddelelser/tds2/a3c2c038-7b70-4059-8721-389831736089 | python -m json.tool