Posts

Showing posts with the label ubuntu

Upgraded Ubuntu 12.04 to 14.04.5 and then 16.04

My desktop at office was stuck on 12.04 for last two years. Recently I got moved to another project and the then critical collection of software and tools on the desktop suddenly became non-critical. So I decided to upgrade it. For last two days I pushed it through two distro-upgrades. And it has survived them and I can now use latest 16.04 LTS. Ubuntu is great!!!

Thoughts on LAMP Development(Linux Apache MySQL PHP)

Image
It's about two years since I started on the whole LAMP thing.  Well the circumstances were like this - I was working on a Linux based product and we wanted to develop a data collection software. Now the problem was we wanted a solution that was quick to develop. So we decided on developing a web application instead of desktop application. So we went forward and used LAMP to develop it and we were satisfied with the speed of development. A desktop application in C-GTK or Java would have taken lots of time and the team didn't have any significant expertise in both of them. Although we were fine with html and we got along with PHP just fine. The main part was easily accessible documentation and the ease of coding. So we developed a solution that was basically a bunch of HTML forms with some PHP thrown in so that we could push the data to a MySQL database as well as call some other programs to perform some tasks using Shell Scripts. It wasn't an elegant solution but it got ...

On Kubuntu 12.04 Beta 1 [* UPDATED]

Image
*** It's been some time since I installed Kubuntu 12.04 Beta 1 and I have been using it exclusively since. And much to my surprise I find myself using it more and more. There are many small improvements that you catch on only after some serious exploration. And until now I'm not feeling hopeless about kubuntu. So perhaps with this revision I can say that finally KDE has become enough usable that it doesn't push me away. In it's own, this KDE is vast improvement to what I tested the last time - almost two years - and the snappy performance is really a pleasure. Now if I don't see those application crashes less often, I would move to this as my primary distro. ( I have seen only handful application/ system crashes on my current Ubuntu 10.10 Installation that is my primary OS. ) Review System: Emachines E-727 with Pentium D 2.3GHz; 3GB RAM; 250GB HDD; Atheros WLAN; Intel Integrated Graphics 4500mHD. I am one of those many who want to shift to Arch Lin...

[QT] CREATE AN ODT FILE

Image
/*  **************     CREATING A ODT FILE              ****************  **************     INCLUDE THE NECESSARY FILES     ********/ {     ...     // Text Document Object to hold formatted document     QTextDocument *m_document = new QTextDocument();     // Cursor for traversing the document     QTextCursor m_cursor = QTextCursor(m_document);     // TextTableFormat object for table formatting     QTextTableFormat tableFormat;     tableFormat.setAlignment(Qt::AlignCenter);     tableFormat.setCellPadding(5);     tableFormat.setCellSpacing(50);     tableFormat.setHeaderRowCount(0);     tableFormat.setBorderStyle( QTextFrameFormat::BorderStyle_Solid);     tableF...

Painting, odt and pdf

Image
Recently I had the pleasure to get my hands dirty with Qt. Basically I wanted to print some stuff and get the application working in couple of days. (Yeah, you know how things are usually - we want it now, we don't care if this is eleventh hour or not! - and then the part you are messing with is usually something nobody has tried to do before and see if it's actually doable or just a godly proclamation). Anyway, I got started, got a form and validated the input and somehow found out some code to write it to an  odt file too. Now here comes the dealbreaker - we want it to be formatted just so and so, and we (again) don't care which hour it is! Right, so I use our dear friend, beholder of finding obscure things from the haystack called Internet i.e. google and after some (furious) searching found out that what I am trying to do is not done before and there's couple of percent chance that I may be able to do it. I like any chance than zero percent so I dug in my heels a...

Elementary Icon Set Refresh

Image
The Elementary People are refreshing the legendary icon theme and have set up a PPA on launchpad. Check it out at following address: https://launchpad.net/ubuntu/+source/elementary-icon-theme

Music Fail

Image
I love working on things with music running in the background. The beat is a necessary thing to help me concentrate on my work. Also it's a way for me to get full concentration in my work. I don't use music libraries, instead I just play the albums one at a time depending on my mood. On windows nothing beats Winamp's explorer shortcut which lets me play my music folderwise, and since I have my music well arranged it's just a matter of few clicks to get the groove. On Linux though things are a bit different. The functionality available in winamp/windows is just not available anywhere. The best I can manage is with opening Totem and dragging the folder to it. Banshee and Rhythmbox don't accept dragged directories. In fact they even won't even accept m3u playlist. (This might be mitigated in latest releases - I tried on Ubuntu 10.10. Will try the same thing on 11.10 and update here.) This is certainly FAIL for people like me who don't like (or don't kno...

Shell Code to Recursively search a directory for files and process them one by one

Image
#!/bin/sh $FILENAME="RECORDS" for FILE in `find . -name $FILENAME` do ## Process $FILE echo "FILE: $FILE" cat "$FILE" | ( # Read Header but don't process it read line # Read records while read line do echo $line done ) done The above shell script code searches through current directory (and subdirectories) for all files with name RECORDS. It then reads the files one by one and processes them line by line. Eg. If your record file is like follows "Name","TelNo" "A","1" "B","2" ... Then you could put following code to read off all names in while loop. $NAME=`echo $line| cut -d"," -f1` echo $NAME

Some Posters and Pictures

Image

[Link] What are md5 sha-1 hashes and how do we check them

http://www.howtogeek.com/67241/htg-explains-what-are-md5-sha-1-hashes-and-how-do-i-check-them/

Check Open Ports on your Linux Computer

It is always a good idea to keep an open eye on ports listening on your computer. The easiest method to do that is to install Nmap ( sudo apt-get install nmap ), and run sudo nmap localhost soon after installation. That should tell you what ports are open out of the box. Run Nmap often and if you see a new entry in the list of open ports that you are not familiar with, try to access it from a browser ( localhost:XYZ, where XYZ is the port number). If that does not tell you anything useful, consult Wikipedia's List of TCP and UDP port numbers . 

Help Translating Ubuntu

Image
Translation statistics Oneiric Language Contributors Status Untranslated Need review Changed Marathi 64 299351 1023 169     We can do more!!! Read more to know how...

[Link] Gmail Keyboard shortcuts

Keyboard shortcuts Hmmm, these can really help!

avant-window-navigator-trunk

Image
Okay! Perhaps the last one didn't actually look beautiful, more gory so! Well, I am not one to be satisfied with that so I went ahead and looked for latest versions of the components.

Latest Desktop

Image
Ingredients:

[link] Replace your gnome Panels with AWN

Image
http://www.omgubuntu.co.uk/2010/09/how-to-fully-replace-your-gnome-panels-with-awn/ And I was smug that my awn looks soooooo beautiful, till I saw what these guys did! BTW My Poor AWN setup is this:

soundconverter

In a quick fix soundconverter helped me quickly get an album transcoded. Nice simple program with just the goal of audio conversion in mind. Great peace of software! Simply great!

Slight Change in .conkyrc

Image

xsnow, oneko, tuxeyes, groach.

http://www.linuxjournal.com/content/silly-programs Funny Post! Even funnier programs!

Me n Ubuntu in Yr. 2020

Oooooh, I can imagine myself working on some obscure code while standing in front of my monitor which is connected to my Desktop Rig which has Latest Ubuntu 20.10 with 4D Unity 3.0. I'm using hand (and leg, perhaps a tail too if I manage to grow one by then) gestures to modify something and unity's all sparkling and moving things around. And yeah it's got a voice too. And then there are global menus that announce some (again!) 4D notifications about my neighbor (she) out sunbathing, my dog (lewdly) observing her, and Unity telling me - "Hun, the dog won't listen!"(Virtual pout!) Yeah that's Vaibhav D for you, (a)live from Yr 2020 just 8 yrs ahead.