Quickbooks pdf Printer Not Working

It looks like Intuit finally provided an easy fix for the perpetual and never-ending problem with the Ayumani print driver that comes with quickbooks previous to Quickbooks 2011 (I think).

Your mileage may vary, but this worked for me.  Just download this file and run it.

I actually did a google search to find the file online so I could point to it, but now I can’t find it.  I’m sure glad I did find it and that I kept a copy on my local pc.  Only problem is that some of you will probably be leery of running a program that you’re not downloading straight from intuit.  Nothing I can do about that except to say that I haven’t modified this file in any way and you’re just going to have to take a leap of faith and try it out.

Click this link for the file -> pdfix.exe

Good luck!  Hopefully it works as easily for you as it did for me.

Number Google Search Results In Firefox

This is the best (only) way I have found to do it with the new google search results.. Ie: instant preview, instant search, etc.

All of the new features that google has added has broken other add-ons that I have used.  For it to work now I use two add-ons in conjunction with each other.  OH, three actually..

http://http://www.greasespot.net/

http://userscripts.org/scripts/show/11213

https://addons.mozilla.org/en-US/firefox/addon/googleenhancer/

The key to getting things working is to return google to it’s glory days when it didn’t have all of the extra stuff.  You can do that with one checkbox in the options for the google enhancer add-on.

You also need to install the greasemonkey add-on and then restart firefox.  After you’ve restarted you can navigate to the site where the greasemonkey script resides that will number the result for you.  You could also just turn on the numbering option in the GoogleEnhancer options

but it wasn’t working for me for some reason.  Also, when it did work, it would include numbering for the blended results which would throw off the regular numbering.

To install the greasemonkey script you click on this button in the upper-right-hand corner at http://userscripts.org/scripts/show/11213

Then you get happy results:

When the search results include a 7 pack, it does not number those.  But when we get blended results as in the image above, it does number those results, which is not the most ideal, but beggars can’t be choosers.

Tags: ,

Lazy road workers – Road Kill

Had to share this hilarious example of road kill. Sad in one way, funny in another.

Hilarious Roadkill Picture – (PHP Codester)

Watch the Lamb – by Ray Boltz

I love this song.  All of the youtube videos I found uses a newer version of the song.  I like the original better and so I’m posting it here.

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.


Tags: ,

Extract All Regular Expression Results (Copy all regex matches to clipboard)

    This was difficult information to find.  I searched for a method using Notepad++, Vim for windows, and a few others, but finally found the easy way to do this using – of all things – Microsoft Word.


    I’ll spare you the details of the other methods I attempted and just give you the detailed answer of how to accomplish this with Microsoft Word.


    So I’ll use my scenario as the example for what you might want to use this for.


    I had a bunch of html code from which I needed to extract every instance of anchor text between the <a href=”…”></a> tags.  In this particular case here is how you accomplish this:


  1. Paste the html code you are working on into a new word document.

  2. Press ctrl+f to bring up the “Find and Replace” dialog box.

  3. In my particular case I used this code in the “Find what:” field. -> \”\>(*)\<\/a\>
  4. Your needs will most likely be different and you will need to research a bit if you’re unfamiliar with regular expressions.  Even if you are familiar with regular expressions (as I am) you’ll still probably need to do a little research to get the exact expression that will work for you.  I’m sure there are regex gurus out there who dream in regex, but in my case I find that I always have to spend more time than I would like just coming up with the syntax for the regular expression that will provide me the results I am looking for.  Microsoft Word regular expressions.


  5. In the “Search Options” portion on the bottom half of the dialog box you’ll need to check the box “Use wildcards”.  This is what enables the regular expression functionality of Microsoft Word.

  6. Just to get a preview of your results click on the “Reading Highlight” drop-down box and choose “Highlight All”

  7. Here are the results in my scenario (which is exactly what I want… well, not exactly.  I’d like to just get the text in between the <a> and </a> tags, but I don’t know how to do that in one step.  The only way I know to do it is to include the “> and the </a> at the beginning and end of the regular expression so that it captures what I’m looking for):


  8. Once you’ve verified that you’re getting the results you want by choosing “Highlight All” to preview it, then you click on “Find in” and choose “Main Document”

  9. All of your highlighted text will now actually♦ be selected.  Now right click on top of any of the selected areas in the document and click on “copy”.

  10. Press ctrl+n to create a new document.

  11. Press ctrl+v to paste what you’ve just copied to the clipboard into your new document.

  12. Press ctrl+f to bring up the “Find and Replace” dialog box again.  Now click on the “Replace” tab.

  13. In the “Find what:” field make sure you still have this code -> \”\>(*)\<\/a\>
  14. In the “Replace with:” field put this code -> “\1″ (without the quotation marks)

    Make sure the “Use wildcards” checkbox is checked and then click “Replace All”


  15. “Wallah.  She is clean.”  (Jacques on “Finding Nemo”)

  16. Kudos and thanks to Ivaylo for posting his workaround which led to my finding this solution and expanding on it here.

Tags: , ,

ModX Manager Preview Page Problem

Wow, that was a fun little adventure.

I could not figure out for the life of me why the QM overlay for modX was not working.  When you’re logged in as admin on the backend then when you preview a page you’re supposed to get what’s called the “Quick Manager” overlay at the top.  I was getting this when inexplicably it disappeared and I was only able to get it to come back here and there.  I could not figure out what caused it to work and what caused it not to work specifically.

Here’s some pics just to make this look nice:

This is without the QM overlay.


Here it is with the QM overlay before it is extended when you hover over it (the thin little darker strip at the top)


Here it is fully extended.


So, I went through A LOT to finally figure it out.  I tested it on valleywideplumbing.com with my firefox browser by backing up the DB and the templates folder and putting them into a fresh installation on that domain.  I avoided interrupting the production environment because right now it is set up statically with .html files and the apache web server is set to give precedence to .html extensions over .php.  The modX engine works beginning with the index.php file which is located in the root folder for your modX installation.  So, since there was an index.html file there it did not matter that the index.php file was there because the .html is what was displayed.  That’s how I was able to test this in parallel with the production site running.


Anyway, from my MANY different tests I was convinced there was something wrong with my firefox install.  I completely uninstalled firefox together with searching through the registry and removing any references to firefox and mozilla there.  I did back up my extensions, passwords, etc.  with MozBackup which I am very glad I did as it was a huge time saver.  After all of that I got it to work and I thought “problem solved”.  But then it went back to not coming up again.


**Tld = “Top Level Domain”


Finally I discovered the difference.  For Valleywideplumbing.com the mod_rewrite 301 redirect for valleywideplumbing.com -> www.valleywideplumbing.com was working correctly including for the tld**/manager/ folder.  For some reason the redirect was not working correctly for brinformation.com for the tld/manager folder.  I had worked on this extensively before and could not figure out how to get it to work.  It would redirect for the tld and other folders that were created via the “#friendly urls” mod_rewrite rules, but would not for manager.  Anyway, I copied what was set up for valleywideplubming and finally got it working for brinformation.


So, that was the problem.  You HAVE TO log in to the manager using the domain name that you have configured within modx.  Ie:  www.brinformation.com if that’s how it’s set up in modx, or just brinformation.com if that’s how it’s set up.  The [(site_url)] system variable is created via the config.inc.php file which resides in /manager/includes/ and is generated with the following line of code (within config.inc.php)


$site_url .= $_SERVER['HTTP_HOST'];


So, it pulls it from the apache $_SERVER['HTTP_HOST'] variable which is based on what was requested by the user-agent (me in this case.. Or my browser on my behalf technically).  So, since I was putting in “brinformation.com/manager” and it wasn’t getting rewritten properly to www.brinformation.com/manager then when previewing the pages the url was being written correctly with the preceeding www. and so the http_host variable was different between the http://brinformation.com/manager and the http://www.brinformation.com/index.php?id=1 (or whatever page id we’re previewing)




Whew.  I think that makes sense.  Even if it doesn’t, it’s fixed!  Woohoo!

Tags: ,

Firefox 3.6.3 and Move Media Player

I spent a while figuring out what was causing firefox to go up to 99% CPU utilization and Move Media Player was not playing at all.

I found a few other posts through google of people having stability issues with firefox 3.6 in general.  But the particular fix for Move Media Player was to upgrade to the latest version of the player (of course).  But where do you find it?  I was trying to use the Move player to watch General Conference at beta.lds.org/general-conference.  As of 4/8/2010 the version they have you download is not the latest one offered by Move.

To get the most up to date one (again, as of 4/8/2010) you can click here to download.

Tags:

Democracy

This is an example of Democracy Gone Bad

Tags: , ,

Government assistance and Agency

The “Samuel Principle” is an interesting one.  Not sure how I feel about this, but it is interesting and worth taking note of.


http://www.ldsfreemen.com/the-coming-apostasy-of-latter-day-conservatives/

Tags: , ,

Windows 7 to Windows 2000 network connection

You need to tweak a registry setting in order to allow connecting to a windows share that is shared on a windows 2000 or xp machine from a Windows 7 machine. Here is the technet article that describes the registry setting that needs to be changed:

http://technet.microsoft.com/en-us/library/cc960646.aspx

Here is the relevant part from the post:

LmCompatibilityLevel

HKLM\SYSTEM\CurrentControlSet\Control\Lsa

Data type

Range

Default value

REG_DWORD

0–5

0

Description

Specifies the mode of authentication and session security to be used for network logons.

Value

Meaning

0

Clients use LM and NTLM authentication, but they never use NTLMv2 session security. Domain controllers accept LM, NTLM, and NTLMv2 authentication.

1

Clients use LM and NTLM authentication, and they use NTLMv2 session security if the server supports it. Domain controllers accept LM, NTLM, and NTLMv2 authentication.

2

Clients use only NTLM authentication, and they use NTLMv2 session security if the server supports it. Domain controller accepts LM, NTLM, and NTLMv2 authentication.

3

Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controllers accept LM, NTLM, and NTLMv2 authentication.

4

Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controller refuses LM authentication responses, but it accepts NTLM and NTLMv2.

5

Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controller refuses LM and NTLM authentication responses, but it accepts NTLMv2.

Tags: ,

Bad Behavior has blocked 325 access attempts in the last 7 days.

Better Tag Cloud