How to turn off WordPress smart quotes

There are actually a few different ways to do this, including modifying the functions.php file in your theme folder, or modifying the default-filters.php file in your wp-includes folder. But I like creating a separate php file and making it into a WordPress plugin, as described in this post by Katja Stokley. Create a text file called TurnOffSmartQuotes.php and put this in it.

Source Code for TurnOffSmartQuotes.php

Then just upload this file to your wp-content/plugins folder, login to your WordPress dashboard, select "Plugins," and activate your new plugin. You've just turned off smart quotes on your WordPress blog.

The Road Not Taken

Robert Frost (1874-1963) 1920

TWO roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth;

Then took the other, as just as fair,
And having perhaps the better claim,
Because it was grassy and wanted wear;
Though as for that the passing there
Had worn them really about the same,

And both that morning equally lay
In leaves no step had trodden black.
Oh, I kept the first for another day!
Yet knowing how way leads on to way,
I doubted if I should ever come back.

I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I --
I took the one less traveled by,
And that has made all the difference.

Explorer / “file open” dialog sort order problems

Here's the part that made Windows save this sorting information everywhere. Hold down the Ctrl key and click the X in the upper right-hand corner of the Window to close it. Now whenever you run a Windows application that uses the File Open, Save, or Save As dialog boxes, the files are listed in Date Modified order rather than Alphabetically.

Order coffee at Starbucks

Syrups Available:

  • Regular: Vanilla, Hazelnut, Mocha, White Chocolate Mocha, Cinnamon Dolce, Toffee Nut, Melon, Raspberry, Juicy Raspberry, Classic, Peppermint, Caramel, Chai
  • Sugar Free: Vanilla, Hazelnut, Cinnamon Dolce, Caramel
  • Traditional Seasonal: Gingerbread, Pumpkin Spice

Reference: link

Grep Using Regular Expression Example

Use the following example with Cygwin to "-r" recursively scan "-i" ignoring case "-l" list files and use "-E" regular expression which finds all strings that have a pairing of in JSP files

grep -r -i -l -E 'personal.+information' *.jsp

SQLite IN (Select Example

CREATE TABLE results AS SELECT * FROM loganalysis
WHERE bookingnumber
IN (SELECT bookingnumber FROM advisoryitems GROUP BY bookingnumber)