How to install QPDF on Centos 6?

I have been working with PDF files for many years, and use this document format for exchanging documents with clients, friends and various people. I prefer PDF over MS Word due to its portability and non-commercial status. There are various tools available to produce PDFs, split & merge, password protect permissions and PDF documents, and transform from one version to another.

How to setup login_info on Netsuite web service?

Netsuite brands its web service integration services as SuiteTalk, and SuiteTalk allows third-party systems to communicate with NetSuite via the SOAP based APIs. To get started with Netsuite Webservice, you'll need a Netsuite account that you can use to communicate with Netsuite. You may sign up with the SuiteCloud Developer Network (SDN) as a Community member, and get a free Netsuite account for exploitation. It may take a day or two to get your account approved.

How to share a folder between the VMware host and guest?

If you need to share a holder between your Windows host and Linux guest, you may use native VMware folder sharing available on VMware Workstation or VMware Player. To allow folder sharing, you must install VMware Tools on the guest operating system. I've used a VMware Player to demonstrate the configuration options, but WMware Workstation 8 will follow the similar steps.

Prerequisites
■ VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating system.

1. Go to Virtual Machine -> Virtual Machine Settings ....

Malware detected on website

One of the server we manage has been compromised, and hosting malware according to Kaspersky Anti-Virus software. The site uses a number of open-source applications such as Wordpress, Gnuboard and phpLinkDirectory. We initially thought it would be either the .htaccess or base64_encode exploit, but after close examination, we found that plain javascript snippet was inserted into one of the Gnuboard include file (bbs/visit_insert.inc.php).

What is the difference between "Primary Key" and "Unique Key"?

I've had a chance to with a Postgres database and came across a table with two primary keys. This intrigue me to lookup a definition of primary and unique key. I always thought there will only be one primary key in a table, and the values have to be unique. But, what I saw in the PostgreSQL v8.1.23 was something otherwise. It allowed duplicate entries, and also allowed multiple primary keys in a table. Is this possible? Yes, it's called composite Primary Keys.

Pgsql Command-line Tools

Although I have been using pgsql for a number of years, every time I wanted to do something I do have to look up a reference as I'm not a regular user of pgsql. Here are a few command-line references which may be helpful to beginners.

To make a backup of a postgres database:

Login as a database user with read access to the db, and run the following command.

%> pg_dump -U {username} {database} > {database.sql}

To restore a backup from a SQL file,

%> psql -U {username} {database} < {database.sql}

To create a database

How to vertical-align input box and label text?

Vertically aligning input box and the label that goes with it is quiet challenging especially when you have vertically align them on all browsers such as IE, Firefox, Chrome, Safari and Opera; and on all different versions on all available OSes. I had to work with multiple checkboxes in a single row with label attached to each input checkbox, and when I thought I've got it done; it worked all but on a Chrome running in Mac. This made me rework the whole thing again from scratch using display table CSS property.

How to add attachment with the Zend_Mail?

Files can be attached to an email using Zend_Mail->createAttachment() method. The createAttachment() method requires a content of the attachment, and 3 optional arguments. Please note that it takes file content as an argument, not the name of the file.

HTML5 Overview

HTML 5 is the fifth revision of the Hyper Text Markup Language (HTML) designed to display web pages. HTML 5 is the next generation markup language encompassing HTML 4, XHTML 1, DOM Level 2 and CSS 3. The core aim is to support multimedia and rich graphics content not only on desktop devices, but also mobile and tablet devices. The next wave of software offering is via a web (Software as a Service, SaaS for short), and we need an ability to deliver rich media on the web and HTML5 is being designed to do that.

Losing session on redirect to another page within same site

I am creating a SAML based Single Sign On (SSO) functionality, and the server acting as a Service Provider (SP) communicates with an User Agent and Identity Server (IdP) to obtain assertions. The implementation is based on simpleSAMLphp, and authentication works perfectly but the data placed on SESSION loses upon redirect to another page within the same website.

Pages

Subscribe to Web Traffic Exchange RSS