Saturday, November 9, 2019

How to Set the Ellie Mae Encompass AdobeAPI Registry Value

Details: What the value does:


This registry value determines how Encompass hands printing off to Adobe Reader. When set to 1,
Encompass uses Adobe's published APIs to send print requests to Adobe Reader. When set to 0,
Encompass uses manual methods of sending print requests.

How to Edit the Windows Registry Value

1. From the Start menu, type "regedit" and open the regedit.exe program.
2. In the registry editor, navigate to one of the following key depending on the bit-ness of your OS:
a. For 64-bit OSes, navigate to:
 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\Encompass
b. For 32-bit OSes, navigate to:
1. Right-click on the Encompass key, select New->String Value.
2. Name the String Value: AdobeAPI
3. Once named, double-click on the newly created Value and set the "Value data" to 1 or 0.
4. Click OK.

How to Set the Correct Permissions for the Value

1. In the registry editor, navigate to one of the following key depending on the bit-ness of your OS:
a. For 64-bit OSes, navigate to:
 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\Encompass
b. For 32-bit OSes, navigate to:
1. Right-click on the Encompass key, select "Permissions".
2. Confirm that you see the user running Encompass is either listed or is part of a group listed in the
resulting Permissions window. If not, add the user by click on "Add" and entering the User.
3. Confirm that the relevant user or group has Read permissions allowed.

Friday, November 8, 2019

Convert Sticky Notes to WordPad

How to Convert Your Sticky Notes to WordPad

First thing to do is to find your Sticky Notes in %appdata%\Microsoft\Stick Notes\ you will see a file called "Sticky Notes.snt" It will be quite small. The file is a 7-zip file.

Then download and install 7-Zip from

Then you should execute the 7-zip application, and enter the file path to sticky notes into the app, Just like the picture below. Then you select the StickyNotes.snt file and press the Extract button. The following images are a quick tutorial on how to convert your sticky notes. It appears that taggerz have defaced my screenshots.

Open 7-zip in the folder where sticky notes file is kept

Now you can close the 7-zip app, and then navigate to the resulting folders, rename each 0 file to 0.rtf because they are just Rich Text.

After extraction, you will see lots of folders

Each folder contains 3 files

Rename 0 to o.rtf. 0 contains the contents, 3 contains the title of the sticky

Thursday, November 7, 2019

Change the Windows 10 OEM branding

How to Change the Windows 10 OEM Branding

Open the Windows Regedit.exe program, and navigate to this key to change the important items.

You MAY find this in your grey market windows 10

Friday, October 25, 2019

Get The Password for a Quickbooks QBW File

A C Program to Recover Your Quickbooks Pro 5.0 File

Sure it's old, but I will share it with the world. It works with Quickbooks 5.0

/* -*-C-*-
* File:         get-qb-pw.c
* RCS:          $Id: $
* Description:  get the "quick books pro" password
* Author:       Eric Blossom
* Created:      Tue Aug 18 14:09:30 1998
* Modified:     Tue Aug 18 17:39:22 1998 (eric)
* Language:     C
* Package:      N/A
* Status:       Experimental (Do Not Distribute)

/* * This has been tested only on QuickBooks Pro version 5.0

#include <stdio.h>

main (int argc, char **argv)
  FILE          *fp;
  int           i;
  unsigned char raw[10];

  if (argc != 2){
    fprintf (stderr, "usage: get-qb-pw filename\n");
    exit (1);

  if ((fp = fopen (argv[1], "rb")) == 0){
    perror (argv[0]);
    exit (1);

  if (fseek (fp, 7635, SEEK_SET) != 0){
    perror ("fseek failed");
    exit (1);

  if (fread (raw, 1, 10, fp) != 10){
    perror ("fread failed");
    exit (1);

  for (i = 9; i >= 0; i--){
    int         t;

    if (raw[i] == 0)

    t = ((raw[i] & 0xf) << 4) | ((raw[i] >> 4)  & 0xf); /* swap nybbles */
    putchar (-t + 255);

  putchar ('\n');

How to Install OpenVPN

How to Install Open VPN on Ubuntu

See this great blog entry.

Tuesday, October 8, 2019

A MySQL Wrapper for mysqli - old skool mysql

A Wrapper for mysqli to Enable Old Skool Mysql

Get this cool mysql wrapper from github to retrofit your old skool mysql / php code to work on php7 where mysql has been replaced by mysqli.

logon to your webserver using SSH, and then on your command line shell, in your webroot directory, do this:

mkdir ext
cd ext
git clone

then copy it to ./lib
in your php code:


Monday, October 7, 2019

How to Restore Legacy mysql to php7 - when you really hate mysqli

How to put MySQL functions back into PHP 7

PHP 7 will go “release candidate” on August 20th 2015 which is very exciting because it will instantly be twice as fast as PHP 5.6 (and all previous versions). PHP7 gives HHVM a run for the money and takes 5 minutes to compile instead of hours for HHVM.
But there is a catch – if you have any legacy code that uses the mysql_* functions, they will stop working entirely in PHP 7. Not just a warning, not just deprecated, but gone, fatal.
However, it is easy to get them back without using a wrapper or modifying your code…
I wouldn’t plan on using this solution far past 2016 but it will keep your legacy code running in the meanwhile.
Simply compile the mysql function as a php pecl extension and add one line to your php.ini
First get the mysql extension source which was removed in March:
cd ext/
(same code, same timestamp, now static and likely will never be updated again)
Then compile the code on your server:
make install
The “make install” should announce where it is copying – copy that path. It will likely be /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ for PHP 7 but it could vary depending on your server setup.
Then edit your php.ini
Somewhere either in the “Extensions” section or “MySQL” section, simply add this line:
extension = /usr/local/lib/php/extensions/no-debug-non-zts-20151012/
(change path if needed)
Restart PHP and mysql_* functions should now be working again. Check your php error log if you have any problems (should check it periodically anyway). You will also see the MySQL section back in your phpinfo page.

Alternately, compile the mysql support into the PHP binary

It is also possible to compile PHP with the mysql extension built right in, so you don’t need to change the php.ini file – follow these instructions:
Basically you put the mysql source under ext/mysql then clear out any existing configure in the php source root and force buildconf to make a new configure. Then compile php including –with-mysqlon the ./configure command line.
Note that PHP 7 deprecates several other functions and is more strict about other things like classes, so you may need to tune your log to be less harsh about warnings.
error_reporting = E_ALL & ~E_STRICT & ~E_DEPRECATED & ~E_NOTICE
But don’t ignore the warnings entirely because “deprecated” will one day turn into completely missing and fatal like mysql functions.