Monday, July 14, 2014

Dashboard On OSX won't open? This may be why.

A couple of times over the past year or so, the dashboard wouldn't open when I clicked on it.

I don't recall how it corrected itself last time it happened, but this time I decided to look up the problem. I found this on the Apple Support pages:

To open Dashboard:
From a trackpad, swipe right with three or four fingers. To close Dashboard, swipe left.
From your keyboard, press the Dashboard key, or press F12 (Fn-F12 on portable keyboards). To close Dashboard, press the key again.

I didn't know I had a dashboard key but now that I knew, I clicked it and the dashboard opened.



OK, that's interesting.

Then I noticed the Fn-F12 and suddenly it all became clear. I pressed Fn-F12 and then clicked the dashboard icon and it worked.

So when had I clicked Fn-F12? It's the keyboard function to open Firebug in Firefox.

Da da...

Saturday, July 12, 2014

Poems to order

Cross-posted from More Flying Twigs



The Necessity Of Greeting Cards
My love, do you see the ocean
between us? The Atlantic
has bloated there like no-man’s-land.
Every word I speak is devoured
by winds on the high seas.
My love, I bought one hundred
pairs of wings, last night
in one hundred paper envelopes.
They carry with them all the words
I cannot say.
My love, I stayed up until morning
to place a kiss within each message.
I wore red lipstick, and by dawn
I had kissed you one hundred times.
I want to tell you every story.
I want te give you all the words
ever uttered, but I am mute.
So take these offerings:
Thank you.
I’m sorry.
Get well soon.
I love you.
I wish you the best.
I wish you the best…
The cards are signed.
The envelopes stamped.
Now they fly.
- by GennaRose Nethercott

Sunday, July 6, 2014

Forcing HTTPS on a WordPress Site

Before we begin, a couple of definitions. An https connection is the protocol that defines how the visitor and the server negotiate a secure connection.

An SSL Certificate is the document that proves the authenticity of the server.

How To Force HTTPS

This is how to force HTTPS if, for example, you have an e-commerce WordPress site and want to put it under https for security or because your payment system requires an SSL certificate.

First make sure your web host can deliver an https site. They might only provide this under certain plans and may need to move your site to another server.

Buy an SSL certificate - your web host can probably sell you one.

Activate this plugin with which you can make the whole site secure or only certain pages (such as checkout pages) secure, if you wish: WordPress HTTPS

Change the URLs to https in Settings / General in the admin panel on your site.

Add instructions to your .htaccess file to tell it to redirect any http enquiries to https. You will find the following code mentioned around the web but you may find it causes the site to hang.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R,L]


The following code works. Add it before the comment line in the .htaccess file that reads #BEGIN WordPress

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


Now test it with this SSLLABS test and give yourself an A.

New Distance-Selling Regulations In The UK

The Consumer Contracts (Information, Cancellation and Additional Charges) Regulations 2013 came into force on 13 June 2014. These are the main provisions as they relate to e-commerce sites.

Go check them out here - but this is what I have picked out of them:

  • The cooling off period is 14 days (previously 7 days) from the date the customer receives the goods.
  • The customer can only be charged for return delivery on cancellation if this is stated in the terms of business.
  • Refunds must be processed within 14 days after the day on which the seller receives the goods back or from the date upon which the customer provides evidence of having sent back the goods. Unless agreed otherwise, the customer may use the same method for returning the goods as for receiving the goods from the seller.
  • Goods must be delivered within 30 days of order. If that time is critical to the contract, the customer may cancel the order. If the timing is not critical then the customer may impose a further critical time within which the goods must be delivered and if not, then cancel the contract.
  • The button or other method the triggers the obligation to pay must use clear language  such as ‘pay now’ rather than ‘complete your order’
  • Certain information must be displayed just before the customer completes the contract. There is a proviso that where there is limited space to display the information then the main characteristics of the product or service, the total price and delivery charge, the time limit to cancel the contract and how to cancel the contract have be shown in a prominent place directly before a customer places an order. (Thought: The 'Basket' page is likely to have all the information except the right to cancel. Probably best to place this just below the 'Pay Now' button.)
  • The customer has to return the goods without undue delay and in any event not later than 14 days after the day on which the customer informs the trader of the cancellation.
  • Premium rate telephone numbers for customer service are in breach of the regulations.

Matrix Machine Code with a wet trout for slapping DDOS attackers

CARROT / LOX + DILL / POTATO

What would you think the ingredients are? Would you expect lox?  CARROT LOX + DILL POTATO