[Solved]: Importing huge DB

When importing a file using bigdump.php on my Ubuntu, I got this error : Can’t open table.sql for import Please, check that your dump file name contains only alphanumerical characters, and rename it accordingly, for example: table.sql. Or, specify $filename in bigdump.php with the full filename. Or, you have to upload the table.sql to the […]

Solved : 404 error while changing Permalink Settings in WordPress on Ubuntu + Apache2

I am using Ubuntu 11.04 and LAMP (Apache2) I did a fresh installation on WordPress and tried changing the Permalink settings from default to Post name option. But when I navigated to the posts, I used to get a 404 – Page not found error Doing this solved the problem. Making sure that the Mod_rewrite is […]

Solved : Failed to save main TiddlyWiki file. Your changes have not been saved

This usually means that the disk is full. Try deleting/moving some files from the drive and then resave the Wiki! This however does not revive the Wiki though. So have some backup measures.  

How to embed a Wolfram Mathematica demonstration in your webpage in 3 easy steps

This is a test post + a tutotial on embedding your Mathematica demos in your web-page ! Convert the interactive document into a CDF (Computable Document Format). You can get a number of them in the Wolfram demonstration projects. Upload the document to your server Insert the following snippet of code, to point to the […]

PHP on Linux (Ubuntu 11.04 – Natty Narwhal)

These are some of the codes that helped me getting started in using Apache server on Ubuntu 11.04 (Natty Narwhal) Finding out the user group <?php // outputs the username that owns the running php/httpd process // (on a system with the “whoami” executable in the path) echo exec(‘whoami’); ?> (often it is www-data ) source : http://php.net/manual/en/function.exec.php Check you have the permission. If not change the pormissions for the var/www folder on Linux (in […]

Mathematica – specifying 3D vertex coordinates for a 3D graph

This is specific to Mathematica 8.*, where Graphs are atomic expressions There was no simple way to assign the 3D vertex-coordinates to the vertices of a graph. Whereas a 2D graph’s vertex-coordinates can be initialized as follows : [text] vertices = {1, 2, 3}; coords = {{0, 0}, {1, 0}, {2, 0}}; connectivity = {1 […]

Installing GD image manipulation capabilities in PHP on Ubuntu 11.04

I wanted to enable the image manipulation functions using Php. It was documented that the that GD library is included in Php versions 4.3 and above. I had PHP version 5.3.5 on my Ubuntu 11.04. I tested the GD support using the code: [php] < ?php echo "GD Info : “; var_dump(gd_info()); if (imagetypes() & […]

TiddlyWiki

This post is about a nice program I stumbled upon TiddlyWiki –  a reusable non-linear personal web notebook This is comparison of  a few tools that I used (NOTE  USED not REVIEWED), which I think could help someone out there who is looking for one I believe that human-memory/thinking is highly nonlinear. And I was […]