// archives

Linux

This tag is associated with 1 posts

Solved: Images load up partially when served by Apache Web Server

This was a very strange issue which showed up at one of my client’s Web application. The application is hosted on a Apache Web server and serves JPEG images. These JPEG files reside on a different server and mounted via CIFS (loosely called Samba mount) on the Linux machine running the Web server.

Now the issue was, many JPEG images, especially the larger ones, loaded up only partially in a Web browser (both Internet Explorer and Firefox). What made them load fully was pressing CTRL+R or clicking on Refresh/Reload several times. Bandwidth wasn’t an issue here, since this problem occurred even when browsing the JPEGs from the local network. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...

MySQL GUI Tools (Query Browser, Administrator) for Fedora 13

In Fedora Linux, the mysql-gui-tools package provides the graphical (or GUI) clients to query and administer a MySQL database – useful alternatives to the command line client.

While I’m very comfortable with the mysql command line client, I do switch to the GUI query browser to add/edit stored procedures/functions.

“yum install mysql-gui-tools” was the simplest command to install the GUI tools for MySQL in Fedora Linux. But in Fedora 13, this results in “No package mysql-gui-tools available”.

So what happened here?

Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...

Twitter Updates for 2010-04-06

GD Star Rating
loading...
GD Star Rating
loading...

Solved: Garbled text in Putty

Putty is a popular and free Linux terminal/shell client for Windows. It allows one to connect to a Linux server using SSH (Secure Shell) or Telnet. I have been using it for as long as I can recall. But this issue of garbled text in Putty is what I have been ignoring, until yesterday.

Yesterday, I had setup Paradox database using DOSEMU on Linux, for a client. On Putty, the Paradox interface showed garbled making it unusable for the client. My instant suspect was DOSEMU. A quick check revealed that it’s happening with other apps too - those with a ncurses or text based user interface. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...

Twitter Updates for 2010-03-16

GD Star Rating
loading...
GD Star Rating
loading...

Twitter Updates for 2010-03-15

GD Star Rating
loading...
GD Star Rating
loading...

Twitter Updates for 2010-02-11

GD Star Rating
loading...
GD Star Rating
loading...

Web Scraping with Firefox and PHP, using XPath

Last year, I faced two projects which required automated Web scrapping – to aggregate content from web pages. I evaluated different methods for Web scraping with varied level of success. Thanks to the changing structure of Web pages, non well-formed pages and URL redirects.

Amongst using regular expressions and DOM (Document Object Model) parsing, I used XPath too. XPath works great for well-formed Web pages. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...

My list of must-have Android apps

Ever since I ordered and got my Android Dev Phone 1 (a.k.a. ADP1), I have been taking it through various updates. The phone shipped with Android version 1.0 and upgraded to version 1.6. After 1.6, I opted to go for ROMs from CynaogenMod.

Each time, I upgrade my phone, I wipe off its data. This is because I took the upgrades as an opportunity to wipe off applications which I install, but do not use or use occasionally. But, following is the list of Android applications which I crave to install after each wipe off. These applications are my must-haves on my Android phone. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...

Twitter Updates for 2010-01-06

GD Star Rating
loading...
GD Star Rating
loading...
shekharg: RT @aseemsood: Good news today - Delhi Metro Link between C-Sec and Qutub Minar opens today. http://bit.ly/bCXTbw
18 hours ago, comment
shekharg: I disagree, Twidroyd is the best RT @TweetDeck: New Android TweetDeck Beta is so great that we've skipped v6 & gone straight to 7!
11:05 AM Sep 02, 2010, comment
shekharg: Check out this UI http://nyti.ms/cr0Wcg
10:38 AM Sep 02, 2010, comment
shekharg: Let's declare Gurgaon a part of Pakistan till #CWG2010, to keep away the visitors from seeing the condition of roads here
9:34 AM Sep 02, 2010, comment
shekharg: RT @TechCrunch: Google Making Extraordinary Counteroffers To Stop Flow Of Employees To Facebook - http://tcrn.ch/bpdbYT by @arrington
2:18 PM Sep 01, 2010, comment