Rejuvalskin Scam

Previously I talked about the Rejuvaskin Scam but recently a similarly named product – “[Rejuvalskin](http://rejuval-skin.com/)” has shown up and people seem to have recurring credit card charges appear.

There is a company in Florida who seems to be behind this, but it is odd because they are using a PO Box that is at a UPS Store as their company address.

Posted in Uncategorized | Leave a comment

Wilton W6 Screw Drivers

Wilton screwdrivers have 6 bits in one handle. They are magnetic and retractable. It’s a great pocket screwdriver. The handle twists to allow you to select your bit and then twist to lock in. This feature is called “Permanent Storage” which means you never lose the bits. It is an excellent Screwdriver. I’ve found them at [Amazon.com](http://www.amazon.com/gp/product/B000NV7P2C/?ie=UTF8&tag=ie-utf-20)

This tool is also listed as:

– [Dwos 63196 Hexdriver W6 Driver Screwdriver (825-29002)](http://www.amazon.com/dp/product/B002JGM9FC/?tag=ie-utf-20)
– Dwos 63194 General Purpose W6 Driver Screwdriver (825-29000)
– JET Tools / Walter Meier – 29000 – Dwos 63194 General Purpose W6-driver Screwdriver ( Item# 6078563 )
– [JET Tools / Walter Meier – 29003 – Dwos 63197 Professional W6-driver Screwdriver ( Item# 6078569 )](http://www.amazon.com/gp/offer-listing/B000NV7P2C/ref=dp_olp_0?tag=ie-utf-20&ie=UTF8&condition=all)
– 825-29001 63195 AUTOMOTIVE W6-DRIVER SCREWDRIVER
– [825-29003 – 63197 PROFESSIONAL W6-DRIVER SCREWDRIVER](http://www.amazon.com/gp/offer-listing/B000NV7P2C/ref=dp_olp_0?tag=ie-utf-20&ie=UTF8&condition=all)
– [Dwos 63196 Hexdriver W6-Driver Screwdriver](http://www.amazon.com/dp/product/B002JGM9FC/?tag=ie-utf-20)

Wilton W6 Screwdrivers

They were designed by [NOVATION](http://www.novationindustries.com/portfolio.aspx):

Wilton W6 Screw Drivers

Posted in Tech Opinion | Leave a comment

1Password 4 – Searching Chrome with Address Bar / Omnibox

Upgrading from Mountain Lion to Mavericks? You’ll be forced to upgrade from `1Password 3` to `1 Password 4` but there are a few things that change.

First, there is a “1password Mini” that will run in the menu bar:

1Password 4 – Searching Chrome with Address Bar / Omnibox

This has to do with having to have 1Password available for a connection to your browser.

### Chrome with Address Bar / Omnibox via the `1p` shortcut

Back in 2011 1Password [announced](http://blog.agilebits.com/2011/08/31/new-in-beta-for-chrome-go-fill-from-the-omnibox/) their new omnibox address bar searching for chrome.

Apparently because of the new way that Mavericks works with sandboxing apps this is no longer possible (at least at this point).

Examining the extension shows that this capability has been completely removed.

Hopefully this will be back soon because it was very helpful.

Posted in Tech Tips | Tagged | Leave a comment

OS X Enable Journaling – for Mavericks Install

When attempting to install Mavericks you may get the message:

> This disk is not formatted as Mac OS Extende d (Journaled). Use Disk Utility to enable journaling or reformat the disk.

OSX Enable Journaling – for Mavericks Install

###OSX Enable Journaling

Open Disk Utility and click the button icon in the toolbar to enable journaling. You don’t have to reformat the drive.

Posted in Tech Tips | Tagged , | Leave a comment

RightZoom and Cinch on OSX 10.9 Mavericks

Before starting you may want to [download the latest version of RigthZoom](http://www.blazingtools.com/right_zoom_mac.html) or [Cinch](http://www.irradiatedsoftware.com/cinch/)

**Tip:** Best way to upgrade to the latest version is to open the current version, make sure it is not activated, close Right Zoom, find `RightZoom.app` (probably in your applications folder on OS X Mavericks 10.9) and then drag it to the trash. Then empty the trash. Now download / unzip the new version of Right Zoom and move it to the Applications folder.

**Also note** If you want to save a backup copy of the older version, compress it to a zip file first. Applications that are unzipped and residing on your hard drive are often picked up by finder and could possibly confuse System Preferences.

Next, to fix RightZoom and Cinch on OSX 10.9 Mavericks you need to open `System Preferences` and go to `Security and Privacy` and then choose the `Accessibility` tab:

RightZoom and Cinch on OSX 10.9 Mavericks

Make sure the lock icon in the bottom left is unlocked, if not click it and enter your password.

If you don’t see `RightZoom.app` listed, find it (probably in your Applications folder) and drag it to the list of apps. Make sure it has a check mark next to it.

If you get an error when you change your preferences in RightZoom:

RightZoom and Cinch on OSX 10.9 Mavericks

The trick is to uncheck “Activate Right Zoom” and then make changes to the preferences. After your preferences have been updated you can then tick the box to “Activate Right Zoom” again on OS X Mavericks.

Posted in Tech Tips | Tagged , | Leave a comment

Gravity Forms: Prevent Scrolling on Next / Previous Ajax Submits

###Step 1: Identify your Form ID

Figure out what your form ID is – look in the address bar as you edit your form:

Gravity Forms: Prevent Scrolling on Next / Previous Ajax Submits

###Step 2: Add a Filter

Edit something like your theme’s `functions.php` file and add a filter for the form number:

add_filter(‘gform_confirmation_anchor_5′,’theme_gform_confirmation_anchor_5’);

function theme_gform_confirmation_anchor_5($enabled)
{
return false;
}

###Step 3: Done

Now the code in the gravity forms plugin won’t fire that causes the form to scroll on ajax submits of multi-paged forms. (no need to change this, code for reference only):

if($use_anchor !== false) {
$scroll_position[‘default’] = is_numeric($use_anchor) ? “jQuery(document).scrollTop(” . intval($use_anchor) . “);” : “jQuery(document).scrollTop(jQuery(‘#gform_wrapper_{$form_id}’).offset().top);”;
$scroll_position[‘confirmation’] = is_numeric($use_anchor) ? “jQuery(document).scrollTop(” . intval($use_anchor) . “);” : “jQuery(document).scrollTop(jQuery(‘#gforms_confirmation_message’).offset().top);”;
}

###Step 4: Replace scrolling behavior with something like [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)

Use code similar to this to scroll to a certain element after one of the submit buttons has been clicked:

Posted in Tech Tips | Tagged , | 1 Comment

How to Suppress WordPress Update E-mails

Did you recently get an email that said something like:

> Howdy! Your site at http://example.com has been updated automatically to WordPress 3.7.1.

The file that is responsible is:

wp-admin/includes/class-wp-upgrader.php

And the function is `send_email` which is part of the class `WP_Automatic_Updater`

To disable the email messages you can add this code:

add_filter( ‘auto_core_update_send_email’, ‘__return_false’ );

For a lot of great options related to managing automatic updates in WordPress 3.7+ see [this question](http://wordpress.stackexchange.com/questions/120081/how-do-i-configure-automatic-updates-in-wordpress-3-7).

Posted in Tech Tips | Tagged | Leave a comment

What do you do after Linking your AdWords and Analytics accounts?

Great! You’ve linked your AdWords and Analytics accounts. What’s next It may take up to 24 hours for your AdWords link to begin displaying data. Here’s what else you can do:

See Analytics engagement metrics in AdWords

Enable new columns in AdWords to display important Analytics metrics–like Bounce Rate and Avg. Visit Duration –right alongside your standard AdWords performance data.

This post-click insight gives you another view of the effectiveness of your campaigns and ad groups, which can help you make decisions about budgets, bids, landing pages, and ad copy.

Create a Remarketing list in Analytics

Remarketing with Google Analytics lets you follow up with people who have already visited your website, and deliver ad content specifically targeted to the interests they expressed during those previous visits.

Take advantage of Analytics data to identify those interests (e.g., which product pages they visited) and build lists focused on those users.

Import Goals and Ecommerce transactions into AdWords

You can can easily import your Analytics goals and Ecommerce transactions into AdWords, allowing you to make more informed refinements to your campaigns without ever leaving your AdWords account.

If you’re using AdWords Conversion Optimizer to manage your bids, it will automatically start using Analytics goals and Ecommerce transactions once you’ve imported them into AdWords.

Posted in Marketing, Tech Tips | Leave a comment

homebrew tidy html5

Here’s how you install `tidy` (html-tidy) with homebrew and get the latest HTML5 version:

###Tap Dupes

First make sure you tap the [dupes](https://github.com/Homebrew/homebrew-dupes) repository:

brew tap homebrew/dupes

Next you just need to use:

brew install homebrew/dupes/tidy –HEAD

Then you are good to go!

If you have any problems you may want to try a few of these things:

###Remove old / other versions:

brew remove tidy
brew cleanup tidy

Then re-run the install command

### Check your path

If you run “tidy” and get an old version, try typing `which tidy`

If you see this you’re seeing the version that comes with Mac OS X:

/usr/bin/tidy

You should instead be seeing something like:

/usr/local/bin/tidy

You can check you version by doing:

tidy -v

This is wrong:

HTML Tidy for Mac OS X released on 31 October 2006 – Apple Inc. build 15.10

This is correct:

HTML Tidy for HTML5 (experimental) for Mac OS X https://github.com/w3c/tidy-html5/tree/c63cc39

If when you are running just `tidy` you are getting the older version you need to check that your path variable is set correctly to use the homebrew bin directory before using the system bin directory. See [this question](http://superuser.com/questions/324616/how-should-i-set-the-path-variable-on-my-mac-so-the-hombrew-installed-tools-are)

Your path should be in some sort of orders similar to this:

/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin

You can also try and run `/usr/local/bin/tidy -v` to see if the newer version has been installed successfully.

###Update Homebrew

You may also need to run `brew update` ( or even `brew upgrade` ) to get the latest versions of repositories that you need to run and build `tidy`

Posted in Uncategorized | 1 Comment

fake procmail script

This is similar to fake `sendmail`. Need a procmail script to deliver messages locally on your machine? Need to do postfix development local for mail ? This will override the “to” field on postfix (more or less) by saving all mail to a local file. Here is a PHP script you can use:

Tweak it to fit your needs, adjust `#!/usr/bin/php` to point to the php file that you use on your system if necessary ( try `which php` )

The script may need to be in a folder that it has write access to, or that postfix / procmail has write access to.

After saving the script to something like `/usr/local/fake-procmail.sh` edit `/etc/postfix/main.cf` and add or edit this line:

mailbox_command = /usr/local/fake-procmail.sh

Also make sure you make the script executable:

chmod +x /usr/local/fake-procmail.sh

You will also need to route all mail to the localhost by adding these lines:

luser_relay = johndoe@localhost
local_recipient_maps =
mydestination = pcre:/etc/postfix/mydestinations

Change `johndoe` to your user name.

Also create a file `/etc/postfix/mydestinations` and add this to it:

/.*/ ACCEPT

More info about that [here](http://askubuntu.com/questions/206766/local-only-sendmail-that-delivers-all-mail-to-a-directory).

Then restart postfix if needed:

sudo /usr/sbin/postfix stop

sudo /usr/sbin/postfix start

And try sending a message, or piping some text to the script:

echo hello there | mail -s “test message” [email protected]

Or

echo hello there | /usr/local/fake-procmail.sh

There should now be messages in `/tmp/procmail-messages/` – change the script to change the location where they are saved.

It’s easier than setting up and chrooting postfix on Mac OS X Lion / Mountain Lion ( mac osx postfix override ) – for local testing – because after that upgrade postfix was often reported broken by many users – with the directory `/Library/Server/Mail/Data/spool` having gone missing and reporting `sendmail: fatal: chdir /Library/Server/Mail/Data/spool: No such file or directory` ( to fix that error see below the script )

#!/usr/bin/php
< ?php function getInput(){ if(empty($_SERVER['SHELL'])){ return; } $r = ''; $f = fopen('php://stdin', 'r'); while ($line = fgets($f)){ $r .= $line; } fclose($f); return $r; } $r = getInput(); $micro = explode(' ',microtime()); $micro = array_shift($micro); $dir = '/tmp/procmail-messages/'; if(!is_dir($dir)) { mkdir($dir,0777); } $f = $dir.date('y-m-d_h_i_s').$micro.'.eml'; file_put_contents($f,$r); Finally, if you get the error like this in `/var/log/mail.log` postscreen[21354]: CONNECT from [127.0.0.1]:56145 postscreen[21354]: WHITELISTED [127.0.0.1]:56145 smtpd[21359]: fatal: open /etc/postfix/submit.cred: No such file or directory master[21176]: warning: process /usr/libexec/postfix/smtpd pid 21359 exit status 1 master[21176]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling You may need to [create the /etc/postfix/submit.cred file](http://apple.stackexchange.com/questions/32772/postfix-not-accepting-commands-on-osx-lion-timeout-occurs) ### OS X 10.8 Mountain Lion: I get an error when trying to run sendmail From [Sendmail error on osx lion](http://apple.stackexchange.com/questions/54051/sendmail-error-on-os-x-mountain-lion): sudo mkdir -p /Library/Server/Mail/Data/spool sudo gzip /usr/share/man/man1/{postalias.1,postcat.1,postconf.1,postdrop.1,postfix.1,postkick.1,postlock.1,postlog.1,postmap.1,postmulti.1,postqueue.1,postsuper.1,sendmail.1} sudo gzip /usr/share/man/man5/{access.5,aliases.5,bounce.5,canonical.5,cidr_table.5,generic.5,header_checks.5,ldap_table.5,master.5,mysql_table.5,nisplus_table.5,pcre_table.5,pgsql_table.5,postconf.5,postfix-wrapper.5,regexp_table.5,relocated.5,tcp_table.5,transport.5,virtual.5} sudo gzip /usr/share/man/man8/{anvil.8,bounce.8,cleanup.8,discard.8,error.8,flush.8,local.8,master.8,oqmgr.8,pickup.8,pipe.8,proxymap.8,qmgr.8,qmqpd.8,scache.8,showq.8,smtp.8,smtpd.8,spawn.8,tlsmgr.8,trivial-rewrite.8,verify.8,virtual.8} sudo /usr/sbin/postfix set-permissions sudo chmod 700 /Library/Server/Mail/Data/mta sudo /usr/sbin/postfix start Another option, if you want a nice GUI, is to test out [FakeSMTP](https://github.com/Nilhcem/FakeSMTP) to replace postfix / procmail altogether: fake procmail script

Posted in Tech Tips, Web Development | Tagged , , | Leave a comment