fix: arrow keys not working on vi / vim on mac - remote host

arrows not working correctly on VI or VIM ...

fix:

Go to your home directory, ( in my case /Users/crivero/ )
Open your .profile and add

TERM=linux

at the first line of the file. Save and quit

DONE!
now you need to logout and login again ... or just type:

source .profile

MediaLink 2.0a1 Download - new versions crashes 2.0b1

since the MediaLink 2.0 b1 crashes for me and I needed and older version to work on my OS X 10.6 - snow leopard ... here it is...

Solution Iphone icons or apps not showing up after restore from backup on jailbreak iphone 3GS

after resetting my iphone and used restore from backup my icons where not showing up after installing them...

the solution is to go to Settings/general/restrictions enable then disable/reboot.

Stop BackSpace key from going back in IE and Firefox

While using AJAX some users would press the [b]backspace [/b]button on their keyboard and the browser would go back so they would loose what they where doing in the ajax refreshed page ..... the SOLUTION (keep reading):

add the following code to the header of my masterpage:

Add SVN Revision Macro for Visual Studio 2005/2008

Objetive:
*Update automatically the revision number in the web.config file of a website in my project.
(I wanted to show the users looking at the remote server the revision they are looking at)

Ajax ControlToolKit and Firefox default button PostBack - Server Click Event

Symptoms:
Default button not does not fire when enter key is pressed using Firefox. (using the ajax ControlToolkit)

Fix:
add this property to the ASP button
UseSubmitBehavior="False"

Regular expression validate name asp.net using RegularExpressionValidator

this will allow names like:
Jon Doe ---- Jørn ---- Mc'Neelan

match names and dis-allow any attempts to send evil characters. In particular, it tries to allow non-english names by allowing unicode characters.

How to populate DropDownList ASP .net with EntitySpaces in code behind

this is how to populate a dropdown ASP.net 3.5 control with entity spaces in code behind
c#: (Item is tha name of my entity)

           ItemCollection i = new ItemCollection();            i.LoadAll();            this.ddlItemType.DataSource = i;            this.ddlItemType.DataTextField = ItemMetadata.PropertyNames.Description;            this.ddlItemType.DataValueField = ItemMetadata.PropertyNames.ItemTypeID;            this.ddlItemType.DataBind();

How to Use Page Methods with visual Studio 2008

to Use PageMethods for Vs 2005 with visual studion 2008
pageMethods website: http://metasapiens.com/PageMethods/
all you need to do is apply this registry entry after installing Page Methods for 2005.

Cpanel mysql5 and php5 how to

I updated today to mysql5 and php5 .. and I ran into one problem.... the sql server would not start
after installing I was getting:
[code]Starting MySQLCouldn't find MySQL manager or server [FAILED][/code]
.....
1st! how to install mysql5 and php5 with cpanel (with out having cpanel downgrade you automatically)
(read below)

Pages

Subscribe to Carlos Rivero RSS