Archive for January, 2008

PAMP: Personal Apache MySQL PHP

This item was filled under [ MySQL, PHP ]

[..] The new acronym is for Personal Apache MySQL and PHP (PAMP) is an experimental project by Nokia to provide an open source personal web server for their S60-based mobile phones.
You can install PAMP using PCSuite or simply by copying files to your memory card.
The downloaded package itself include Python, PythonScript Shell, Pips, Open SSL [...]

Continue reading...

Tagged with: [ , ]

Using a Java class in .Net

This item was filled under [ .Net ]

It might sound a little complex using Java package in .Net but trust me, the interoperability is quite easy I’ll explain the procedure in few simple steps:
1. Create a simple Java class, for e.g.
public class CalculatorX {

public int Add(int firstNum, int secondNum)
{
return firstNum + secondNum;
}

}
2. Compile it to create a .class
> javac calculatorx.java
3. [...]

Continue reading...

Cut down Firefox memory

This item was filled under [ Uncategorized ]

Firefox does not release memory upon minimize and that does make the browser a little heavy when the user restores it after sometime. You can tweak this part as well
Open up the configuration file by typing “about:config” in the address bar. Locate “config.trim_on_minimize” and set its value to “true”. If you don’t find [...]

Continue reading...

Setting next AUTOINCREMENT value

This item was filled under [ MySQL ]

By default, MySQL starts auto-incrementing from value 1. To start with value other than 1, you can set that value with CREATE TABLE or ALTER TABLE, like this:
mysql> ALTER TABLE [tablename] AUTO_INCREMENT = [number];
An alternate way of doing this is, simply insert a row in your Table and enter the next auto-increment value.
Enjoy! =)

Continue reading...

Does changing code require re-compilation?

This item was filled under [ .Net ]

It’s fun experiencing different technologies around. Though, things get a different shape when you don’t know few basics. I had a little problem dealing with ASP.Net while making changes to a pre-made application. I wasn’t sure if ASP.Net 2.0 required compilation before deployment if I make some changes in the code. I have had the [...]

Continue reading...