Binary Expressions

Next Page »

2008-5-15

Visual Studio 2005 - Change Default Debug Browser

Filed under: — The Warden @ 11:50 am

I began play with Visual Studio 2005 and discovered that Internet Explorer is used for debugging. In the past one could change the default browser before going to the file menu then to “Browse With” in Visual Studio however this seems to have changed. Here is a couple solutions I found out how to change your default browser in Visual Studio 2005.

Solution One


  1. Go to File menu > New > Web Site.
  2. Go to File menu > Browse With.
  3. The “Browse With” dialog will appear, click on Add and then select your preferred browser.
  4. Click on your preferred browser in the list and click on “Set as Default”.
  5. Click on “Browse” or “Cancel”.

Solution Two


  1. Left click on a aspx file in the “Solution Browser” and click “Browse With”.
  2. The “Browse With” dialog will appear, click on Add and then select your preferred browser.
  3. Click on your preferred browser in the list and click on “Set as Default”.
  4. Click on “Browse” or “Cancel”.

Source: Changing your debug browser to Fire Fox in Visual Studio 2005

2008-3-25

Best DUI Test Ever

Filed under: — The Warden @ 9:03 pm

The title of this post says it all. This video has been pasted around for some time now and is a must see. Apparently the video clip is taken from the TV Show called Reno 911. Either way its great!


source: Snotr
source: IMDB - Reno 911

2008-3-24

The Kid’s Bookmarks - Updates

Filed under: — The Warden @ 9:27 am

Here is the latest revisions made to “The Kid’s Bookmarks” web site, http://www.adamsdesk.com/kidsbookmarks/. If you have any comments or suggestions feel free to comment.

Removed Links

  • My Little Pony
  • Mr. Potatohead
  • Tonka
  • Toboggan Jump
  • Breakout

Corrected Broken Links / Updated Thumbnails

  • Franklin
  • Online Etch A Sketch
  • Rubik’s Cube
  • Pac-man
  • Frogger

Newly Added Links

  • Hasbro Monkeybar TV
  • Treehouse TV
  • Space Invaders
  • Sonic the Hedgehog

2008-1-3

Outlook 2003 SP3 Missing Holidays

Filed under: — The Warden @ 8:59 am

Problem


I recently noticed at work in my Microsoft Outlook 2003 SP3 the holidays are no longer showing up in my calendar beyond the year 2007. My initial re-action was to just re-install the holidays into the calendar by going into the menu Tools -> Options -> Calendar Options… -> Add Holidays…, selecting United States and Canada then clicking “Ok” three times. However this did not resolve the problem just made it some what worse for the fact that now all my holidays in my calendar for the years 2007 and less was duplicated.

Solution


  1. Open your Outlook Calendar
  2. Menu, View -> Arrange By -> By Category
  3. Select all the listed holidays that is within the “Holiday” category and then delete them by pressing the delete key.
    Be careful not to mark anything you created manually.
  4. Now re-install the holidays by going into the menu Tools -> Options -> Calendar Options… -> Add Holidays… and then select the countries you wish to see the holidays for.
  5. Click “Ok” three times.

At this stage you should now see the holidays beyond the year 2007 all the way until the year 2012. If you wish for the holidays to go beyond the year 2012 you can manually edit the outlook holidays file with a text editor located at “C:\Program Files\Microsoft Office\Office11\1033\Outlook.hol”. If you can’t find it there do a search for “Outlook.hol” or “Outlook.txt”. Outlook 2000 and older has it stored in a file called “Outlook.txt”.

Source: Outlook Tips - Missing Holidays
Holidays File: Outlook 2003 Holidays File with Family Day Included for Saskatchewan

2007-12-19

Perl - Out of Memory!

Filed under: — The Warden @ 4:23 pm

Background Knowledge


This case was done on a machine running OpenBSD i386 v3.7 operating system with Perl v5.8.6 built for i386-openbsd using BASH as the command prompt interrupter.

I’ll be honest I have very little knowledge of Perl so if you have anything to comment on or suggest please do so.

Problem


I tried to install a couple Perl modules and received an error message of “Out of Memory!”.

Solution


Just to clarify I have very little knowledge when it comes to Perl, so this solution may or may not work for you.

On Unix machines each user has a ulimit or “user limit” which is basically from what I understand sets the limit for each resource to ensure the system is not over loaded or abused. In this case at least for me, my issue was not having a big enough data seg size. Type at the command prompt without quotes “ulimit -a” to see a list of the set limits. I increased my data seg size from 76800 to 200000. I did this by typing at the command prompt without quotes, “ulimit -d 200000″.

You may need to play with this value for your case or other ulimits. Don’t worry about the changes as none of them are permanent in this case, at least to my knowledge. When you use the ulimit it only changes it for the user you are using and for that given session. If you require more permanent changes look into using ulimit in the login script or better yet change your system configuration settings.

Comments/Thanks


Many thanks to Scott Corley who posted an excellent blog entry entitled “perl Out of memory! (with solution)” on his blog called “Red Mercury Labs”. Without this I was getting know where fast.

If anyone can provide some further knowledge on ulimit it would be much appreciated.

Source: Red Mercury Labs - perl Out of memory! (with solution)

2007-11-24

IBC - Inflammatory Breast Cancer

Filed under: — The Warden @ 11:46 am

IBC should be known to all women of all ages, be informed and watch for symptoms.


Source: YouTube.com
Source: IBC Research Foundation

2007-11-23

Dik dik

Filed under: — Tux @ 1:48 am

This is got to be one of the oddest animals I have found out about, but for something that small and only grows up to be about a foot tall it is fairly cute.

read more | digg story

2007-11-16

French Characters Not Rendering Correctly

Filed under: — The Warden @ 9:13 am

Background Knowledge
The MySQL database v4.0.23 is using the default character set of “Latin1″. When the database was created I had no knowledge of character sets other wise it would have been “UTF-8″.
The web pages are using a character set of “UTF-8″.

Problem
Data being queried from a MySQL database that contains French accent characters will not render correctly in the browser even after applying PHP htmlentities().

Example code: $string = htmlentities($string , ENT_QUOTES, “UTF-8″);

Solution
The queried data from the database was inputted using the character set “ISO-8859-1″. I found this out by changing the browser’s character encoding to “Western ISO-8859-1″ and the French accent characters then rendered properly. With the use of PHP iconv() I was able to convert the data from “ISO-8859-1″ to “UTF-8″ character set and the French characters then rendered properly in the browser.

Example code: $string = iconv(”ISO-8859-1″,”UTF-8″,”$string”);


If you are unaware of what MySQL default character set being used, you can run this SQL command “show variables like “%character%” and check your MySQL configuration file. Refer to the MySQL manual for further details.

2007-11-12

The Burger King Song Parody

Filed under: — The Warden @ 8:17 am

Source: YouTube.com

2007-11-9

Finding The Total Lines Within Files

Filed under: — The Warden @ 5:06 pm

I have learned by using the “find”, “wc” and “awk” commands one can find the total number of lines within files of a given directory and sub-directories. Thanks to NicM on IRC server Freenode channel #OpenBSD for his solution below.

Solution
find /path/blah -type f -name ‘*.php’|while read i; do wc -l <$i; done|awk ‘BEGIN { x=0 }; { x+=$1 }; END { print x }’

Note: Shell must be bourne-compatible.

2007-11-8

HTML_QuickForm Generates Invalid Code for XHTML Strict

Filed under: — The Warden @ 4:18 pm

One of the biggest complaints I’ve had with HTML_QuickForm is not producing valid XHTML Strict code. Well there is a simple solution to removing the name attribute of the HTML form element tag using remoteAttribute().

Example
$form->removeAttribute(’name’);

2007-11-3

Mac or PC - Rap Music Video

Filed under: — The Warden @ 7:25 pm

Source: Revver.com

Next Page »

Take back your mailbox - CAUCE.org

Powered By Wordpress PHP: Hypertext Preprocessor MySQL Powered Download Juice, the cross-platform podcast receiver
Proud To Be Canadian Get Firefox Valid XHTML Valid CSS
<NO>OOXML Logo


26 queries. 1.129 seconds.
Copyright © 2004 - 2005 by Adam Douglas