Postbooks Remote Client Settings

so it’s not the most secure version at this moment (no ssl tunnel, no md5 passwords), but the basic settings required for a client on another machine to connect to our basic ubuntu postbooks server are as follows

edit the file /opt/xTuple/postgres/data/pg_hba.conf

in the IPv4 section add a new line below rgw localhost directive

# IPv4 local connections:

host all all 127.0.0.1/32 md5

host all all 192.168.xxx.xxx/24 md5

edit the file /opt/xTuple/postrges/data/postgresql.conf

set the listen address (line 59) to *

listen_addresses = ‘*’ # what IP address(es) to listen on;

# comma-separated list of addresses;

# defaults to ‘localhost’, ‘*’ = all

double check ports and other settings while you are in the files

restart the server

/opt/xTuple/postgres/bin/pg_ctl stop

/opt/xTuple/postgres/bin/pg_ctl start

Original Computing’s Dream WordPress Plugin List

So over the past few years we have been playing with WordPress as a blog, as an e-commerce solution, as a media outlet, and as business-managed sites. Through our time we’ve seen many things change with WordPress: the ability to install apps automatically hasn’t been there for long, changing from 1.6 to 2.2 was like dancing in heaven with theme abilities, and then the switch to 3.0.1 has made everything beautiful in the backend. We also have seen many plugins come and go as their support dwindled, or their user base diminished, but here is a list of some of the plugins that either stand our test of time, our are ground-breaking and stable enough for us to consider them mandatory.

Exec-Php

So many sites still use custom code, and many of ours do too. Exec-PHP lets us run that code without having to compromise any of the great features of WordPress (except for opening some security issues with weak user passwords…but thats another blog post).

Contact Form 7

Easy to use, admin-managed emailing plugin. Easily create and manage multiple kinds of contact forms for all parts of your site. Integrates seamlessly with Really Simple CAPTCHA (see below).

My Category Order

Drag and drop ordering of categories has never been easier. Theme dependent on whether or not it will work out of the box, but we can get it to work on any theme.

My Page Order

Same as above but drag and drop ordering of pages. Theme dependent on whether or not it will work out of the box, but we can get it to work on any theme. Stop manually adjust the page  metrics and get on with posting content! This plugin will help you.

Nextgen Gallery

One of the staple plugins of our toolkit. Provides slide shows, pop out images, image galleries and customizable permissions.

Really Simple Captcha

The name really says it all: really simple. It adds CAPTCHA image validation to your Contact Form 7 forms easily and works as desired.

Calendar

A simple, but clean calendar integrated fully into WordPress. Allows for recurring events and link outs, and multiple calendars. Perfect for almost any use.

HL Twitter

Have you ever wanted a feed of your tweets listed on your site while at the same time having the ability to filter and pull multiple Twitter feeds into this one location? HL Twitter for the rescue. Also some great tools for tweet databasing, and easy account sync with Twitter.

Ozh’ Admin Drop Down Menu

This plugin is a must for anyone who admins their sites via tablets or netbooks. I love those devices, but there is a less than ideal amount of screen space to work with. Admin Drop Down moves the left-hand WordPress menus to the top in a presentable javascript drop down menu.

Fluency Admin

Fluency Andmin is just about the most beautifying thing you can do to your WordPress backend. It cleans up the menus, and provides a smooth interface for all your administrative needs.

Theme My Login

Tired of the normal login page? Did you spend time and money on your theme only to have to look at something else when you log in? Well, Theme My Login fixes that, providing a basic page to log in by. Still needs custom code to hide it from the page list of some themes, but that’s not the plugins fault!

W3 Total Cache

WordPress is amazing! But at the same time, the same things that make it awesome make it slow. W3 Total Cache improves performance within minutes after install. Highly configurable, and tweak-able beyond our desires. We saw 300% speed increases in our sites by running this plugin, but the creator claims 1000% – either way, I’m happy.

WP DB Backup

Simple and straightforward database management program. Choices galore, automatic backups, multiple delivery methods.

Google Analyticator

The ultimate in Google Analytics tracking and integration. Monitor basic traffic data directly from your dashboard. Easily syncs to Google Accounts.

windows xp BSOD Stop 0x0000007E

so after an architecture change of a client’s server’s pc during a disaster recovery middle of business day, i was forced to learn a lot about migrating windows xp install to and from intel and amd architectures.

i found the repair to be sufficient moving from amd to intel, but left me with a BSOD when going from intel to amd.

well like most microsoft problems, this error has a bajillion reasons as to why and finding pertinent information was difficult. i finally stumbled across this microsoft kb artice (http://support.microsoft.com/kb/953356) which instructed that when the repair cd was created via an image that was intel-based, it needs to have a registry key disabled in order to boot on amd.

fortunately, since even safe mode is not accessible during a half-complete repair, the kb article even documented how to disable the feature via the recovery console of an install cd

i cite the kb article here:

To work around this issue, run the recovery console by using the Windows XP CD. Then, select the recovery option. To run the Recovery Console from the Windows XP startup disk or from the Windows XP CD, follow these steps:

  1. Insert the Windows XP startup disk in the floppy disk drive. Or, insert the Windows XP CD in the CD drive. Then, restart the computer.

    Note If you are prompted, click to select any options that are required to start the computer from the CD drive.

  2. When the “Welcome to Setup” screen appears, press R to start the Recovery Console.
  3. If you have a dual-boot computer or a multiple-boot computer, select the installation that you want to access from the Recovery Console.
  4. When you are prompted, type the administrator password.

    Note Press ENTER if the administrator password is blank.

  5. At the Recovery Console command prompt, type the following command, and then press ENTER:
    disable intelppm
  6. To exit the Recovery Console and to restart the computer, type exit at the Recovery Console command prompt, and then press ENTER.

remove stale locks vmware server 2

so my virtual machine server went down in my office the other day, and the auto startup for a specific machine failed because there was a lock file present from before the power failure (time to replace my ups)

it was easy enough to fix by removing the folder located at:

/var/lib/vmware/Virtual\ Machines/{vm-name}/{vm-disk-file-name}.vmdk.lock/

for me the command was:

# rm -vfr /var/lib/vmware/Virtual\ Machines/nataile/natalie-hardDisk1.vmdk.lock/

unpack multiple files at once using xargs

how to upack all tarball gunzips .tar.gz in a given directory at a time

ls *.tar.gz | xargs -t -I {} tar -zxvf  {}

*note: after the -t it is a -I as in -(capital)i

substitute your flavors at -zxvf and adjust file list at the ls command before the pipe