// author archive

garywaddell

garywaddell has written 60 posts for garywaddell.com

Connecting to and Testing Oracle

Let me first start by saying, I am not an Oracle expert.  I learn what I need to in order to get things done.  I don’t go digging into learning Oracle proactively, frankly because I am not a huge fan of it, I still prefer DB2, but enough of that This blog simply talks about [...]

CSS Background Image Hacks

Great article on CSS some great things you can do with CSS Background Images: http://nicolasgallagher.com/css-background-image-hacks/

Captcha Alternatives

This article gives a great summary of using Captcha alternatives. http://blogs.sitepoint.com/captcha-alternatives/

Opacity in CSS

I came across a nice article here that sums up using opacity (ie on images) that works nicely in most browsers. http://www.quirksmode.org/css/opacity.html The article summarizes it this way, use the following CSS properties to better support IE versions: .opaque { -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=50)”; // first! filter: alpha(opacity=50); // second! }

Eclipse DLTK Index Slowness

I have found a number of times that the DLTK index kicks off during my Eclipse Helios session and sometimes can hang.  What I did to fix this was to remove the files (database index files) in this folder: <workspace folder>/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/

iFrames and WordPress

Unfortunately, WordPress does not allow you to insert iframes into an Article or Page.  You’ll need to install an embed iframe plugin into WordPress (http://de77.com/other/wordpress-iframe-embedder). Working Example using [ iframe http://www.onmiddleground.ca/index.html 640px 350], remember to remove the space before the word iframe:

sed – replace text in multiple files

To replace foo with foo_bar in all PHP files, use this command: sed -i ‘s/foo/foo_bar/g’  *.php

Eclipse PDT Debugger – Firefox, Mac – Browser Already Open

If you’ve used Eclipse PDT and you’ve tried launching Firefox as an external browser, you may find at times that Firefox rejects multiple instances of a browser session running by challenging you with a popup.  The way around this is to launch the Eclipse Preferences, select General | Web Browser | Use external web browser. [...]

Excellent Lightbox Alternative – PiroBox

I found this URL giving a full list of the available Lightbox alternatives as they are growing in interest everyday. http://planetozh.com/projects/lightbox-clones/ I’ve used a number of these plugins, but the one I was very impressed with is PiroBox as it offers a draggable image http://www.pirolab.it/pirobox/

Websphere SOAPElement ClassCastExceptions

Well if you’ve spent hours trying to figure out why your code generates anything to do with SOAPElement ClassCastExceptions, you probably have a classloader issue with conflicting JARs in your WAS classpath.  Take a look thru your JAR files being loaded in the Server JVM, WEB-INF/lib and the Shared Libraries for any classes that are [...]

Categories

  • No categories

Categories