Imperva Security

We are using Imperva Security Appliance at HAL.  Comprehensive Application and Data Security

Comprehensive Web, Database and File Security by Imperva SecureSphere is the market leading solution for business security. SecureSphere provides comprehensive, integrated application security and data security to prevent data breaches, streamline regulatory compliance and establish a repeatable process for data risk management.

Powering the SecureSphere suite is a common platform that provides flexible deployment options, unified management, deep analytics and customizable reporting. The SecureSphere platform enables enterprise scalability and accelerates time to value.

Underscoring Imperva's commitment to business security, the Imperva Application Defense Center (ADC) is a world-class security research organization that maintains SecureSphere's cutting edge protection against evolving threats.

Chewy, Fudgy Triple-Chocolate Brownies

Makes sixty-four 1-inch brownies
Either Dutch-processed or natural cocoa works well in this recipe. These brownies are very rich, so cut them into small 1" squares for serving.

5 ounces (142g) semisweet or bittersweet chocolate, chopped
2 ounces (57g) unsweetened chocolate, chopped
8 tablespoons (1 stick) unsalted butter, cut into quarters
3 tablespoons cocoa powder
3 large eggs
1¼ cups (8.75 ounces, 248g) sugar
2 teaspoons vanilla extract
1/2 teaspoon salt
1 cup (5 ounces, 141g) unbleached all-purpose flour

1. Adjust oven rack to lower-middle position and heat oven to 350 degrees. Spray 8-inch-square baking pan with nonstick cooking spray. Fold two 16-inch pieces of foil lengthwise to measure 7 inches wide. Fit one sheet in bottom of greased pan, pushing it into corners and up sides of pan (overhang will help in removal of baked brownies). Fit second sheet in pan in same manner, perpendicular to first sheet. Spray foil with nonstick cooking spray.

2. In medium heatproof bowl set over pan of almost-simmering water, melt chocolates and butter, stirring occasionally until mixture is smooth. Whisk in cocoa until smooth. Set aside to cool slightly.

3. Whisk together eggs, sugar, vanilla, and salt in medium bowl until combined, about 15 seconds. Whisk warm chocolate mixture into egg mixture; then stir in flour with wooden spoon until just combined. Pour mixture into prepared pan, spread into corners, and level surface with rubber spatula; bake until slightly puffed and toothpick inserted in center comes out with small amount of sticky crumbs clinging to it, 35 to 40 minutes. Cool on wire rack to room temperature, about 2 hours, then remove brownies from pan using foil handles. Cut into 1-inch squares and serve. (Do not cut brownies until ready to serve; brownies can be wrapped in plastic and refrigerated up to 5 days.)

VARIATION
Triple-Chocolate Espresso Brownies

Follow recipe for Chewy, Fudgy Triple-Chocolate Brownies, whisking in 1 1/2 tablespoons instant espresso or coffee powder along with cocoa in step 2.

Swagger Rest UI Tool

https://developers.helloreverb.com/swagger/

Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. The overarching goal of Swagger is to enable client and documentation systems to update at the same pace as the server. The documentation of methods, parameters, and models are tightly integrated into the server code, allowing APIs to always stay in sync. With Swagger, deploying managing, and using powerful APIs has never been easier.

Active Directory from Command Line

User the following command:
dsquery user -samid "xxx"

To open Active Directory Users and Computers
Click Start, and then click Run.
In the Open box, type dsa.msc, and then click OK.

To install the Windows software:
Refer: https://www.technipages.com/windows-install-active-directory-users-and-computers

Install Guest Additions Fedora 18

1. $sudo yum update
Please reboot the system if you have just installed a new kernel.

Pre-Installation Setup
Before installing VirtualBox Linux Guest Additions, you need to install gcc, dkms and kernel development module. Use the following command:
2. $sudo yum install gcc kernel-devel dkms

Next you need to mount the Linux Guest Additions Image Disc. Under the VirtualBox menu bar, select Devices >> Install Guest Additions...

Click cancel if they ask if you want to run the disc image.

Install Linux Guest Additions
Once the disc image is mounted, use the following command (case sensitive):
3. $cd /run/media/$USER/VBOXADDITIONS*
4. $sudo ./VBoxLinuxAdditions.run

IPConfig Release Renew

Here's How:

  1. Click the Start menu button on the Windows taskbar.
  2. Click Run... on this menu.
  3. If the computer is holding a current IP address, type 'cmd' (without the quotes) in the text box that appears. A command prompt window appears on the screen.
  4. Type 'ipconfig' (without the quotes) to view the status of the computer's IP address(es).
  5. If the computer is holding a current IP address, type 'ipconfig /release' to let go of the address.
  6. Type 'ipconfig /renew' to obtain a new IP address (whether or not the computer is holding a current address).

Tips:

  1. If it is not necessary to view the current IP addresses on a computer, simply type 'ipconfig /release' or 'ipconfig /renew' (without the quotes) in the text box that appears in Step 3.
  2. To bring a computer back onto the network after moving it to a different location, or experiencing an unexpected outage, first release, then renew the IP address. Computers on DHCP networks often (but not always) re-establish network connectivity automatically.

Adding users to sudoers

If there is a sudo group, you can do the following:

$sudo adduser <username> sudo

This works because /etc/sudoers is pre-configured to grant permissions to all members of this group (You should not have to make any changes to this):
# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

Otherwise, you can add the user directly

$nano /etc/sudoers

add the following to the end of the file, and save:
username ALL=(ALL) ALL

Quick SSH on Ubuntu 12.04

sudo apt-get install openssh-server

After the installation, you can SSH onto your machine, this is not secure and good for a home network solution, but you'll need to investigate security if you are going to hang the machine outside a Firewall.

Example of importing into your local Maven repository

You cannot get to some *.jar files remotely and you still need to build your project, you can use these commands to import into your local repository.

Example:

call mvn install:install-file -Dfile=/c/jars/ehcache-2.7.2.jar -DgroupId=net.sf.ehcache -DartifactId=ehcache -Dversion=2.7.2 -Dpackaging=jar

copy C:\jars\ehcache-2.7.2.jar C:\Users\userid\.m2\repository\net\sf\ehcache\ehcache\2.7.2\ehcache-2.7.2.jar.sha1

Refer: sample-maven-local-import.txt