Wednesday, October 14, 2009

GridView with ModalPopupExtender - Do not enclose in UpdatePanel

I will write this up later on. It took me a while to figure this out. Apparently there's a collision between UpdatePanel and ModalPopupExtender, they don't play nice together. I'll stub this for a moment and I will explain later.

Tuesday, October 13, 2009

CSS Code Snippet Green Dark Background

I like this CSS code snippet. I got it from here. Looks like a very good idea for distraction free writing.

body { font: 16px "Courier New"; color: #00ff00 !important; background: #000 !important; width: 800px; margin: 10px auto; }

Tuesday, September 29, 2009

How to Upgrade to the Latest Padre

Very simple!

perl -MCPAN -e "CPAN->upgrade('/^Padre/')"

Thursday, September 24, 2009

Insurance 411

http://www.insurance-411.org/

Fill this out, I will later. I think this is very important. From the website...

Welcome to Insurance 411, a Web tool which allows users to keep personal insurance information at their fingertips in the event of an emergency. By entering important policy and emergency contact information users can print out a credit card-sized information sheet to keep in their wallet.

Thursday, August 06, 2009

How to Install Aranight Color Theme (Style) for Padre

If you liked the Padre color theme from my previous posting. You can install it now by following this procedure. As a side note, in Padre lingo, code color theme is called a "Style". Aranight is still a work in progress and as you know Padre is also a work in progress, so there's a lot of changes that are happening, so be patient and check back for updates. I will be updating Aranight style here as I go. Enjoy!

  1. Locate the local Padre config folder by clicking Help > About. Create a styles folder in that location. Here's how the folder looks like in Win32: C:\Documents and Settings\username\Local Settings\Application Data\Perl\Padre\styles\
  2. Download Aranight style from here. Copy to the styles folder created earlier.
  3. Download Monaco font from here. Install.
  4. Restart Padre.
  5. In Padre, click View > Style, select Aranight.
  6. In Padre, click Edit > Preferences > Appearance. Now select the Monaco font. Change the "Editor Current Line Background Color" to R7, G65, B16. Click Save.

Here are some screenshots:
Padre IDE:

Perl file:

YAML file:

CSS file: