Honeywell Thermostat on the wrong day

Sometimes my wifi Honeywell thermostat gets a day behind for an unknown reason.  Here's how to set it back.

  1. Select System
  2. Press and Hold Fan
  3. Should see 0120 with setting 20 blinking
  4. Press next to 0130, this is the year
  5. Press next to 0140, this is the month
  6. Press next to 0150, this is the day
  7. Press Done.

ColdFusion 10 server won't start

ColdFusionAfter a restart of the server, ColdFusion 10 Application Server wouldn't start.  The ColdFusion error logs said nothing, the last entry was that it received a shutdown command.  In the Windows Application Log I was getting an EventID 259.

Turns out Java updated itself.  The path ColdFusion was pointing for Java to was no longer there.

FIX:

Edit \coldfusion_install_directory\cfusion\bin\jvm.config:

and change java.home=C:/Program FIles/Java/jrexxxxx to new location of java.

Switching from an IDE disk to an AHCI disk

If you just switch a hard drive from IDE to an AHCI disk in the BIOS, you'll notice that you will no longer be able to boot up Windows. (This usually comes into play when switching from a hard drive to an SSD.)

BEFORE you do this, if you make these changes in the Windows registry, you SHOULD be able to switch it to AHCI and then boot up just fine.  (as always, backup your stuff and take precautions in case this doesn't work).

  • Start up regedit.exe
  • Set HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci to 0 (zero)
  • Set HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Pciide to 0 (zero)
  • Shutdown and change BIOS setting to AHCI before booting

 

(more info)

Block xmlrpc.php

To block a whole server from using xmlrpc.php (sometimes used for an attack vector) just put this in your apache2.conf file:

 

# remove access to all xmlrpc.php files (attack vector)

<Files xmlrpc.php>

Order Deny,Allow

Deny from all

</Files>

More info here.

Shutdown or restart Unity by the command line

Utils system shutdown (or restart)

Force WordPress to use a certain URL

Sometimes I forget this (in wpconfig.php):

/* set blog site  */
define('WP_HOME','http://mywebsite.com');
define('WP_SITEURL','http://mywebsite.com');

pfsense DHCP server not giving out IP's

Recently one of my pfSense boxes wasn't handing out IP's.  In the DHCP log it said: "There's already a DHCP server running".

Here's how to fix it:

Go to Diagnostics -> Command Prompt and execute this shell command:

rm /var/dhcpd/var/run/dhcpd.pid
Make sure to restart the DHCP server once this is done (in Status -> Services)

(thanks)

Crashplan crashing

Installing crashplan on a server with lots of files will make Crashplan crash because Java will run out of memory.

In C:\Program Files\CrashPlan\CrashPlanService.ini

Change: -Xmx512m

to

-Xmx2048m

Read only copy when opening Word file from network share

Trying to open a Word or Excel file off the network share we kept getting a message saying the file was locked for editing by another user and it asked if you'd like to open a read only copy.  Here's the fix:

Change Word (or Excel) options (File -> Options -> Trust Center -> Trust Center Settings -> Protected View options).  De-select "Enable Protected View for Files Originating from the Internet".

Database too large for phpMyAdmin upload

  • In ‘/etc/phpmyadmin/config.inc.php’ change this line $cfg['UploadDir'] = '/etc/phpmyadmin/upload'
  • Make a folder named upload in that location.

Now in phpMyAdmin, you can pick files from that directory for upload.
(found here:http://daipratt.co.uk/importing-large-files-into-mysql-with-phpmyadmin/)