archive

professional dilettante

September 2009

Emacs on flash drive

I’m just starting school and we are using windows and notepad++.  Getting used to windows keys is annoying enough, but using notepad++ for coding is pretty painful.  Rather than invest time in learning yet another editor, I decided I will try to install Emacs to my portable hard drive. Eventually got regular emacs 23.1 working [...]

Continue Reading »

IE6 PNG filter

Here is one way that works for applying a filter for PNGs in IE6. .ie6 h2.unlimited {     background:none;     filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="path/to/your/images/imagename.png", sizingMethod="crop"); } I’ve followed a bunch of tutorials that did not work.

Continue Reading »

php -a (irb like tool for php)

from terminal, you can type [ ~ ]$ php -a Interactive mode enabled Then you’re free to try things out just like you would with Ruby in IRB or python in ipython. Only thing is you still have type the php tags… But I am finding it useful for trying things out.

Continue Reading »

Adding an options page for your theme

Great article http://blog.themeforest.net/wordpress/create-an-options-page-for-your-wordpress-theme/ on how to create an options page for your theme.  Also explains how to use the options once they’ve been saved to the options table in your database. **Note** If wordpress blows up after you add this stuff to your functions.php file, DO NOT PANIC. It’s ok. Track the error by doing [...]

Continue Reading »

Numbers don't work as wordpress theme names

If you’re creating your own wordpress theme, say for a site, it will not recognize the theme if the Theme name consists only of integers. For your theme to distinct from other themes, you have to provide a name in your “style.css” file. E.g., /* Theme Name: 1234 */ The above name will not work. [...]

Continue Reading »

Techscreencast.com

A cool site featuring screencasts on various things, ruby on rails, php, version control. http://www.techscreencast.com/

Continue Reading »

Zingiri for WordPress – a free e-commerce plug-in

First I’ve heard of any free e-commerce software. I will def. test out this plug-in at some point. http://wordpress.org/extend/plugins/zingiri-web-shop/

Continue Reading »

Most Recent Post

posting data with curl from the command line

Before i forget, an easy way to test if you can connect to an external api is to use CURL on the command line. This nice as a sanity check/proof of concept to ensure you have the right token, proper field mappings, submitting the right data. This saves you from setting up a test form, [...]

Categories

Content © professional dilettante
Proudly powered by WordPress
Theme designed by Artisan Themes

Entries (RSS)
Comments (RSS)

19 queries.
0.347 seconds.