Categories
Uncategorized

List of available Climate datasets

Name Description URL Resolutio Variables
Categories
Uncategorized

Select all visible Facebook users for event

Here’s a quick way to select groups of users to a Facebook event:

  1. click on the “Invite Friends” button in the event page
  2. Type “javascript:” in the URL bar (without the quotes of course)
  3. Paste this after the “javascript:”

  4. var x=document.getElementsByTagName("input");for(var i=0;i

Categories
Uncategorized

Setting up ISAPI Rewrite on IIS 6

If you’ve worked with IIS6, you can attest to the pain you can go through when setting up “Clean URL” functionality. This post applies to an installation of Drupal 7 on IIS 6.

I tried to install Ionic’s ISAPI Rewrite and Helicon’s ISAPI Rewrite 2 with no success. My requirements were not to pay for this functionality and to install this functionality only in a single virtual directory under my main website.

I was able to get my site working using the version 3 of Helicon’s ISAPI Rewrite.

Because this verison (free Lite version) of the ISAPI Rewrite has some limitations with the .htaccess file, I needed some conditions to apply the rules to my main site and exclude the rules from a sibling Joomla installed site.

Here’s my final .htaccess file:

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.89
RewriteEngine on
RewriteCond %{URL} ^(?!/excludesite)
RewriteCond %{URL} ^(?!/excludesite/.*$)
RewriteBase /mainsite/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Hopefully this will save sometime for someone out there. I certainly wish I had seen this somewhere. 🙂

Categories
Uncategorized

Problem debugging Flash Builder 4.5 application in Chrome 19

So, as many of you Flex developers have encountered this problem in the past, it is still very frustrating when the flash player updates since it breaks my Flash Builder debug setup.

The dreaded problem when debugging a Flex application is getting an error something along the lines of:

Flash builder can’t locate debugger + NPSWF64_11_2_202_228.dll

A solution that worked for me in the past is found here:
http://www.timo-ernst.net/2010/04/chrome-flash-debugger-not-connecting-to-flexflash-builder/

This time around, when updating to Flash Player 11.2.202.228, I started seeing the same annoying message from Flash Builder.

Here’s how I solved this (on my Window 7 machine). Apparently there were two separate installations of the Flash Player (debugger) in my machine. One under C:\Windows\SysWOW64\Macromed\Flash and the other under C:\Windows\System32\Macromed\Flash. The problem was that Chrome was pointing to a different version of the player and Flash Builder to another.

Chrome version:

Flash Builder was looking at the version under C:\Windows\System32\Macromed\Flash.

All I had to do now was change the “Path” value of the Flash player under the Registry Editor and all was well after this:

Hopefully this will help some other frustrated soul out there. 🙂

FYI, this is a nifty little app that shows you which version of the Flash player you have installed as well as whether or not you have the debugger installed: http://flashplayerversion.com/

Categories
Uncategorized

Centering guides in Photoshop

So, I am sure we’ve all wondered how to center guides either horizontally or vertically such that we are able to center our content appropriately. Turns out that Photoshop has an easy way of doing this. Just go to View -> New Guide and enter “50%” as the Position:
center_guide

Easy peasy lemon squeezy!

Every one of these useful features that I find in Photoshop makes me like it even more. Peace.

Categories
Uncategorized

Creating a functional Mosaic Dataset

After much fiddling with parameters in ArcGIS API for Flex, I have not been able to fix this problem displaying an image service consumed through Flex. My workflow was to create a Raster Catalog, add an imd_date field to the attribute table, and create a referenced mosaic dataset. This had not been able to work properly, apparently since overviews cannot be created for a referenced mosaic dataset.

I found this post: http://goo.gl/xKb8I and my problem was solved.

I love some of the functionality that ESRI provides with many of their products, but often, it’s just terrible working with it.