category

professional dilettante

Uncategorized

WordPress Shortcodes, Actions, Events Manager, TweetBlender

I’m working on a WordPress project which uses David Benini’s “Events Manager” plugin. The events manager plugin does not use WordPress’ posts for Events. Instead it creates an page with the title “Events”, whose URL would be http://yourdomain.com/events. The content rendered on this page varies. The plugin uses the query string to fetch a single event [...]

Continue Reading »

Easy show / hide with JavaScript and CSS

Easily show and hide content using JavaScript and CSS. If the demo on this page does not work, another version of the demo is here:http://cdia.zhannes.webfactional.com/js/toggle.php

Continue Reading »

Consolas font on XP without visual studio

http://www.shareware-beach.com/2006/11/the-consolas-font-for-programmers/ As detailed above, if you try to install consolas on XP it will tell you it depends on Visual Studio.  If you don’t want to download all that, you can just download the .net sdk and install.  Then download consolas and install.  Links to both are in the article above. Sweet.

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 »

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 »

CSV fun with Ruby

Working on a project and coming to dislike Excel due to my being an inept user of it!  I recall in Windows XP, Excel 2003, one could sort and filter a spreadsheet by blanks.  I was doing some manual work and was hoping to use the “Filter by blank” to save me some time at [...]

Continue Reading »

Emacs and Vim: Useful commands

I’m just learning how to use git, and I figured I would use it to store my Aquamacs config and files online.  This will prove useful when I’m setting up a new computer, etc. So that repo is here: http://github.com/zhannes/Aquamacs-Emacs/tree/master **Caveat** For any non-emacs peeps that want to follow along, the key commands work like [...]

Continue Reading »

jquery and dojo cdn

for myself when I forget, and anyone else searching jquery <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js”></script> jquery ui <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script> dojo <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3/dojo/dojo.xd.js"></script>

Continue Reading »
Older Entries →

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)

23 queries.
0.396 seconds.