Tuesday, December 10, 2019

Useful VI Tricks for Editing Asterisk Configuration Files

Useful VIM Tricks for asterisk configuration

Scrub out all default documentation lines and blank lines. Just show the current configuration.

remove all commented lines

remove all blank lines

Monday, December 9, 2019

How to Recover Your Quickbooks Serial Number and Registration Keys

How to Recover Your Quickbooks Serial Numbers and Keys After Reinstalling Windows

Sometimes the dreaded blue screen of death or the dreaded spinning circle of dots happens on your windows 10, or your Windows 7 to Windows 10 upgrade fails miserably and you then need to reinstall a fresh copy of Windows 10.  But then you lost your quickbooks registration data containing your serial number and product ID and Key. Well worry no more because it's easy to get that back.  The trick is to install windows and keep all user data and settings and then when you are done, open explorer and look in this folder:
you are looking for a file called qbregistration.dat

Quickbooks qbregisration.dat file

the contents of this file are XML. You will see the serial number and product key.
You can always copy this entire folder into it's same location on the new windows installation to quickly reactivate your old license.  Or you can just use the numbers that you see here and then re-register.

Friday, December 6, 2019

How to Backup and Save a Google Chrome User Profile's Passwords, Bookmarks and Cookies

How to Save Your Google Chrome Passwords, Bookmarks, and Cookies

Unfortunately as of Chrome Version 78, google has removed the ability to import passwords into chrome.  As an alternative, you can still export them out as a CSV file. But you can never import them back.  However, If you can locate Version 72 of Chrome Enterprise Full Offline Installer, you can install it, with the network cable unplugged, and then import your passwords quickly before, Chrome gets updated to the latest version, and drops the password import feature.  To import passwords, install chrome 72, then disconnect your network, and then go to chrome://flags in the address bar. Search for "Passwords" or "import".  When you locate the import feature, enable it. Then restart Chrome, then go to Settings->passwords and click on the little dots, then import your passwords.

Save the Chrome Data Default Profile

Alternatively, you can grab the file called "Login Data", "Bookmarks" and "Cookies" from %userprofile%\Local\Google\Chrome\User Data\Default and save them to a USB drive, then drop them into another user profile in the same place.

Sunday, November 24, 2019

Connecting to the APC 3000XL and AP9617 Using Serial Cable and RS232 Port

How to Configure Your APC 3000XL and AP9617 Using RS232 Port

First you need a APC 940-0024C or APC 940-0024B Serial Cable, then you need to get a Keyspan USB to Serial adapter dongle, then you connect to the serial cable to the DB9 connector on the back of the UPS. Use Putty and Serial at 2400 baud,8n1, xon/xoff

Then you can logon using the default username and password of apc and apc. If you need to reset the passwords, press the reset button on the AP9617 unit.

See the pictorial below

The About System Page

Change Network Settings

You Entered the Wrong Client ID into Encompass and Now It Just Blows Up! - [How to Fix It]

How to Fix A Broken Encompass Smart Client With the Wrong Client ID

The AppLauncher fails and shows this message:  "Unhandled exception thrown while downloading manifests: the remove server returned an error (404) Not Found."  Well, son, it got that way because you entered the wrong client ID.  Call Forest Lawn, because it's dead, and now you need to bury it.
AppLauncher Failure Due to Incorrect Client ID

How Does This Happen?

While you were installing the Ellie Mae Encompass Smart Client, you entered the wrong client ID, and then it tried to download the configuration from elliemae.  Suppose you entered a junk number, the whole download and configuration process is completely screwed up.  Now it just blows up. Stick a flower in it, because it's dead.

How Can I Fix This?

You need to remove all Ellie Mae components from your computer using the "Add & Remove" programs menu from the windows control panel, SmartClient, eFolder, and Document Printer - from the "Programs and Features" menu of Control Panel plus you need to remove the SmartClient Cache Folder from C:\SmartClientCache remove the entire folder. Remove Registry Entries from: HKLM\Software\WOW6432Node\Ellie Mae\SmartClient\
C:|SmartClientCache|Apps|Ellie Mae|Encompass|AppLauncher.exe
See the screenshot below. Just delete the entire folder and all of its entries.
Do remove the entire Ellie Mae folder from WOW6432 in the registry.
Then remove the local user's configuration folders:
C:\Users\<username>\AppData\LocalLow\Apps\Ellie Mae
C:\Users\<username>\AppData\Local\Encompass Installation
Then Remove this folder, and then empty the trash, so it does not come back.

Remove All of These Items first

Wednesday, November 20, 2019

How to Copy Photos to Your IPAD or IPHONE Camera Roll

Copy Photos to Your Camera Roll

You cannot do this with itunes or icloud. You cannot just connect a USB cable and stuff them in there. But there is way with 3rd party software from EaseUS.


Install their free application called MobiMover_Free. Then you do it.

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.

Hire A Pro to Manage Your Operations

Bare Wire Networks has the IT lowest rates in Southern California.  See our website at: www.barewirenetworks.com

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 https://www.7-zip.org/download.html

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

Free Sticky Notes Alternatives for Window

1 Simple Sticky Notes. Download from:  https://www.simplestickynotes.com/
2. Stickies. Download from https://www.zhornsoftware.co.uk/stickies/download.html
3. Notezilla
4. PNotes from https://pnotes-1932d.firebaseapp.com/downloads
5. Google Keep
6. Chrome Sticky Notes Add-on
7. Microsoft One Note in Office 2013- 2016

Thursday, November 7, 2019

Change the Windows 10 OEM branding

How to Change the Windows 10 OEM Branding

When you have installed a nicked Windows 10 from teamos-hkrg.com, change the branding so your friends don't think you have a bootleg copy.  Open the Windows Regedit.exe program, and navigate to this key to change the important items.
The Key:

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) eb@starium.com
* 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.  https://blog.ssdnodes.com/blog/tutorial-installing-openvpn-on-ubuntu-16-04/

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 https://github.com/e-sites/php-mysql-mysqli-wrapper.git

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 mysql.so – 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/mysql.so
(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.