The HTML Entities for “smart quotes” are:
“ and ”
You can remember them as left double quote and right double quote.
Here's a simple SQL statement to add a varchar column of size 100 to a table:
ALTER TABLE tablename ADD COLUMN columnName varchar(100);
I have been doing some research to find out what the best way to store lots of old picture is.
Here are some tips I have gathered.
Here are some sites I used for reference:
Need to flush your DNS cache in Windows? Try running the following in Start - Run:
ipconfig /flushdns
This should work on Windows XP, Windows 2000, and possibly other versions of Windows.
You can learn more about ipconfig in Windows from Microsoft's web site
Ever wonder just how much caffeine is in different drinks? Then check out the caffiene database.
For how much more caffiene do you find in coffee vs coke?
According to the database CocaCola Classic has 2.83 mg of caffiene per ounce. Drip coffee has 18.13 mg of caffiene per ounce on average (coffee can vary quite a bit).
It is also interesting to note that Diet Coke has more caffiene (3.75 mg/oz) than classic coke.
As a small business bootstrapper I was looking for an inexpensive multifunction all in one printer, copier, scanner, fax (actually I wasn't looking to get a fax, but this printer came with it, and it is a good deal).
As you might guess I ended up going with the Brother MFC-420CN. I have owned it for a few weeks, and it is working out great.
I haven't had to use the scanner yet, but the copier and printer work great. My only issue was that I was having trouble printing an envelope, it would smudge ink on it. This wasn't a standard business envelope however, it was for an invitation, and was kind of bulky.
Ink consumption seams to be pretty good, I know some of the comparable printers ship with very small ink cartrages, the adobe one at least.
Overall I would recommend this product for any small business or home office.
One cause of the error message: Error: Constructor functions must be instance methods
in Flex can be caused when you have a component with the same ID as the Application. So if you have a file test.mxml
and a component <mx:Label id="test" text="test" />
you might get this error.
If you ever get an exception deploying a large WAR file on WebSphere here's the error, and how to fix it.
EJPPH0036I: Timeout reached after 300 seconds.
Explanation: A timeout was received prior to the expected notification event.
User Response: Increase the value of the property was.notification.timeout in DeploymentService.properies.
The stack trace may contain the exception com.ibm.wps.pe.mgr.exceptions.AppServerWarInstallException:
The DeploymentService.properties
is located in shared/app/config/services
under your websphere install root.
Need to list the contents of a jar file? You need to specify the options tf
to the jar command, for example:
jar tf any.jar
If you use jar --help
it may mislead you to think you need to specify a dash, or that you don't need the f
flag.
Note you could also use this to list the contents of a zip file if you have java's jar
command installed.
Looking for the portlet-api jar file containing the IBM WebSphere Portlet API?
Try looking in the PortalServer/shared/app/
folder for the file: wp.pe.api.legacy.jar
this contains the classes for the org.apache.jetspeed.portlet
package
Here are some links that you will find handy when migrating to the JSR168 portlet api from the IBM WebSphere Portlet API.
WebSphere portal server disabled deployment of JSR168 portlets by default. You can enabled it by setting portal.enable.jsr168 = true
in the file ConfigService.properties
in the directory wp_root/shared/app/config/services/
API Documentation
Other documents
This looks cool, its a WiFi phone from netgear that uses skype to make calls whenever your at a wifi hotspot.
Update: The Netgear WiFi (802.11 Skype Phone is now for sale on Amazon.
I always forget this, but you need to use enctype="multipart/form-data"
in your HTML form
tag, when doing a file upload (input type="file"
). Also don't forget to use method="post"
on the form
tag.
Suppose you want to search the rpm's installed on a linux server that uses rpm
(the Redhat Package Manager). I find the easiest way to query is by doing something like this:
rpm -qa | fgrep httpd
The -qa
will list all installed rpm's, then we can pipe a grep to search the list.
I was searching for a free snowflake background to use in my weekly amazon deals newsletter, and couldn't find one I liked, so I took a few minutes and made one. Feel free to use this background on your website, or whataever:
I just started the Simplessity Blog, it has a focus on simplicity.
Great article at the basement, on why we like rounded corners so much. The basement also looks like a cool site.
There is an article in this months Outside Magazine about bone density, and building strong bones. The article points out that when you sweat you loose calcium, so it is important for athletes to get a lot of calcium.
It also points out that non impact exercise like swimming, walking, or cycling doesn't prompt your body to build strong bones like running, or weight lifting does. Due to sweating swimmers, walkers and cyclists tend to loose bone density the fastest.
The article recommends the average active person gets 1200mg of calcium a day. A glass of skim milk contains about 300mg of calcium, a yogurt around 400mg.
Don't like dairy? You can get your calcium from these sources:
Besides consuming more calcium, you can also catch some rays - the vitamin D from the sun helps you absorb calcium.
Excessive consumption of alcohol, and soda may also cause deterioration of bone density.
Jason Fried's first podcast with Venture Voice discusses 37signals philosophy of keeping it simple.
Here are 10 tips to a better html form. Via Daily Mashup.