Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts

Tuesday, September 20, 2011

cygwin home directory setup

Every new developer machine I get I always instal cygwin along with these essential tools.
Here today I will briefly write about setting the home directory. As per cygwin post here I edited the /etc/passwd file to set my home directory.
At work, I have a network space alloted to me whenever I log in and I use this as the default home folder for cygwin as well. I merely edited this file for my username and changed the home directory to the network drive letter mapped in /cygdrive.. and voilla!

Thursday, April 14, 2011

IE 7, no wait its IE 8, no no, IE 9 and wait we have word IE10 is the best!

Microsoft seems to be stressing the importance of the Internet Explorer version in their advertisements. 7, 8, 9 and now 10. My workplace still uses 6 and only recently and lethargically we may use 8. I don't use IE for personal use at all, unless for work and checking if my CSS/ExtJS/jQuery screens are IE compatible. 

What I fail to understand about this undue stress about these version numbers is, the supposed implication that the greater the number, the better is the browser. I would have rather appreciated fewer versions and earlier adoption of industry web standards, than this mad rush of incrementing the version numbers. 

As per Wikipedia, this is the version history of IE.

Internet Explorer 6 was released on August 27, 2001 

Internet Explorer 7 was released on October 18, 2006

Internet Explorer 8 was released on March 19, 2009

Internet Explorer 9 was released on March 14, 2011

Microsoft announced Internet Explorer 10 at MIX 11 in Las Vegas.


Friday, March 25, 2011

Cygwin task - My office GTD

I extensively use Cygwin on Widows at home and at work. No no, I am not talking about Windex vs Cygwin. I am talking about the OS Windows :|
To some extent it has become indispensible to me. A nifty new tool that I installed on cygwin a few yrs ago has now become my primary GTD app @Work. I can manage all my office work using this tool. It's a very basic tool but it comes in handy.

You can find all the necessary help here

Tuesday, March 22, 2011

Ubuntu 10.10 Linux - Using wired for LAN and wireless for internet SIMULTANEOUSLY!

From my post @ http://ubuntuforums.org/showthread.php?p=10590567#post10590567

Amazing, finally its all working!!

Setup: Ubuntu 10.10 connects to the internet using wireless (wlan0) and it also connects to my iMac running Snow Leopard 10.6.6 over the lan (eth0). I have also configured netatalk and avahi so my Linux machine shows up in iMac thru zero conf/Bonjour (No manual connection required. Excellent writeup here)
The suggestions from the post pointed me in the right direction, but it did not work for me. I had to add some of my own tweaks before my networking adventure got on the road!
Steps:
1. I am using Network Manager. I removed Wicd Network Manager since I was looking for this option "Use this connection only for resources on this network"
2. As per quote 2, add a wired connection manually (iMac LAN). Setup is: fig. iMac LAN

Then configure a static IP as shown in fig. LAN.

3. For this LAN connection, using NM add the route details and check "Use this connection only for resources on this network" option after clicking "Routes".

4. I left wireless as is, but here it is in fig. wlan0

The config is now as shown in fig. wireless


5. Additionally, I configured the Network settings on the iMac. Go to System Preferences>Networking>Select 'Ethernet' on the left and for 'Configure IPv4' as Using DHCP with manual address. I used 169.254.26.55/255.255.0.0. This works with the LAN settings!

And now I am streaming movies from my RAID 5 on my Linux to the iMac over this LAN and using the internet on the Linux machine as well. Note: Somehow iMac chose this LAN interface over the wireless one! My avahi configuration does not have any interface info. BTW I need to be able to use the Linux RAID for my laptop over the wireless. Talk about a simple setup .

I am sure a nifty /etc/network/interfaces file config can do the same. But for now this is the Eureka moment !


Quote:
Originally Posted by gpgp
I want to connect to 2 physical networks. I am using my wired to go to lan used for machine control. And using my wireless to connect to the lan attached to the internet.

It seems i cannot use both at the same time in Karmic. If i open a web page via wireless then plug in to the machine control lan with my wired connection, i can no longer get web pages via wireless. The settings for wired are over riding the wireless and it doesn't try the wireless connection.
Can anyone help with this ?
Thanks
gpgp

I found it. there is a box to check : use this connection only for resources on this network. System> Prefernces> Network Connections> Select conection, edit> ip4 tab> routes button> check box.
Thanks, hope this helps someone else.

Quote:
Originally Posted by houstonbofh

If I am reading this right, you want to browse the Internet on wlan, while also connecting to a single network on lan. This is easy.

1) Right click on your network manager icon, and select 'Edit Connections.'
2) Under 'Wired' click '+ Add'
3) Name it something, uncheck 'connect automatically' select the 'IPV4' tab, and give yourself static IP, but do not fill in the gateway.

By not putting a gateway in, your lan interfaces has no default gateway, so the wlan one can be used. Otherwise the lan gateway takes precedence.

Thursday, November 11, 2010

IBM RAD/RSA 7 installation on Ubuntu 10.04 Linux

IBM Rational Application Developer 7 or Rational Software Architect 7.0 installation on Linux can be annoying at times. Here are the steps I followed to get this working and this time around it felt quite simple.
1. IBM Installation Manager 1.4.1: It will be best to get the latest version of the installation manager, so download and install it first. Choose the agent.installer.linux.gtk.x86_1.4.1.
2. Download and install the libstdc++5 lib from Debian site. I had saved libstdc++5_3.3.6-18_amd64.deb locally and used this one. I am not sure but it seems I needed the 64 bit version.
3. Replace the default shell sh from dash to bash; as described here. The command to use is 'sudo dpkg-reconfigure dash' and select 'no'.
This did it for me!

Update Jun 23, 12: I am now running Ubuntu 12.04 64bit version, trying to install the 1.5.2 version of the IM. However, I kept on getting this bash error - bash ./install: No such file or directory
The issue was not having 32bit lib files described here. So install 32 bit library files using
sudo apt-get install ia32-libs

It all works now!

Disclaimer: Again this is the assimilation of all the wisdom that is available over the net, with some of own tweaks

Monday, November 1, 2010

Apple Mac OS X Screen Sharing

Apple Mac OS X Leopard and Snow Leopard comes with an amazing VNC server/client called "Screen Sharing". Once it's enabled from the System Preferences > Sharing > Screen Sharing, Mac OS X magically (Bonjour/Zero Config) looks up any Mac computers on the same network and brings them up on the Finder side bar. Clicking "Share Screen" & after entering the user login/password, brings up the remote desktop view of the other machine.

Screen sharing is nothing new and it has been around for as long as Mac OS X Leopard has been, and Linux guys would immediately quib about VNC being around much longer. However, this isn't about VNC client/server.

This blog is about a eureka moment when I was using my old powerless 2005 Apple PowerBook and working on my 2007 24" Aluminum iMac. I have been using my PowerBook as a very fancy remote for the iMac, but I could never practically use this VNC feature. My iMac is setup on my desk, and the PowerBook is lying around the bed. The reason for this is my 24" iMac native resolution being 1920x1200 and the PowerBook being 1280x854. My PowerBook runs Leopard and the iMac runs the new Snow Leopard (BTW an amazing upgrade).

Due to the huge difference in the PowerBook and iMac resolutions, I could barely read or for heavens type anything on the iMac using the Screen Sharing from my PowerBook. So the silly eureka moment was to just bring down the iMac resolution as close as to the PowerBook's native resolution.

Well there you have it now! I was able to write this entire blog over this Screen Sharing from my PowerBook onto the iMac. Well this may not be so thrilling, but the real advantage of this setup is to run heavy duty applications like eclipse/mysql db server and other development tools over the iMac and then use the PowerBook, which is at a crawling speed even running Safari 5.0 browsing the net, as a very cool laptop chugging at all the J2EE development I can remotely do. Exciting and Sad :|

P.S: Last week, I spent some time googling for ssh -X and the X11 forwarding on a mac, and it all worked. This is a nice tool, if the only applications we need to use are X11 based; which is not the case. Something of an alternative to the VNC and screen sharing where X11 forwarding runs the application on the remote machine, but brings the screen to the local m/c and uses the local keyboard and mouse to interact with this app. It was exciting to get this to work, but this excitement quickly disappeared when I realized X11 forwarding will only work for X11 based apps. One cannot be excited about xeyes for too long!

 

Thursday, October 28, 2010

MySQL WorkBench 5.2.29 CE - Windows MSI Installer Error

When installing MySQL WorkBench 5.2.29 CE using the Windows MSI installer (mysql-workbench-gpl-5.2.29-win32.msi), I got an error "Error: 25580 - cannot connect to windows firewall".  

I followed the instructions from MySQL Forums, and it fixed the installation error. The solution is to start the "Windows Firewall/Internet Connection Sharing" from windows services (Run>services.msc). If the service is disabled, right click and make the start type manual/automatic and then start it.

Disclaimer: I often run into issues either configuring/installing applications on Windows/Ubuntu Linux/Mac OS X. I will hence forth put all the solutions on this blog, so I can use these whenever I need them. I must humbly acknowledge that the credit to most or even all of them would go to all the developers who post their solutions on the net. I will obviously put a link to the original resource.

Friday, October 22, 2010

MySQL 5.5.6 on Mac OS X Snow Leopard 10.6 PreferencePane

PreferencePane for MySQL 5.5.6. seems to have broken "again" in mysql-5.5.6-rc-osx10.6-x86_6.

If you try to start MySQL server using the preference pane it fails. I tried to start it using '/usr/local/mysql/bin/mysqld start' and it still failed.

Here is the fix for the preference pane start and stop.
Edit '/usr/local/mysql/support-files/mysql.server'
Find line 'basedir=.' and replace it with 'basedir=/usr/local/mysql'
Here is the screenshot after the change:
After this, I was able to successfully execute the following commands:
sudo /usr/local/mysql/support-files/mysql.server start|stop 
SystemPreferences > PreferencePane > MySQL Start|Stop Server
This fix came from: http://bugs.mysql.com/bug.php?id=53232

Monday, July 13, 2009

Xmarks - Syncing w. Firefox 3.5

Recently, I upgraded my favorite browser to 3.5. However, Xmarks, formerly known as Foxmarks stopped working. It's a Firefox extension that stores a copy of your bookmarks & allows you to sync bookmarks on other computers using Firefox. It's pretty neat! I was getting "Error 3" whenever I tried to sync. Xmarks help was suggesting that the FF user profile was corrupt. I was too lazy to create a new profile.
I seem to have a quick fix for this issue; as follows:
1. Delete all the bookmarks on the client computer. (It may be advisable to backup your bookmarks before doing this, although Xmarks would already have a recent backup.)
2. Restart FF.
3. Go to Xmarks > Settings > Advanced & Hit Download. This will overwrite the local computers FF bookmarks.

These steps solved the problem for me.

Tuesday, December 30, 2008

Microsoft on "Pay as you go" model for PC & software

You can read about this article at ComputerWorld. I recently wrote a comment on this, I'm just posting it here.

Once again MS comes up with an approach of making more money without the necessary effort. How about a good performance on their OS or fewer bugs, or a weight loss program for it? They seem to work overtime on making new themes for the same OS (Vista, Windows 7) & copying everything they can find on the way - Konfabulator widgets (now Yahoo), Google gadgets & of course the Mac OS X for almost everything.

It seems their think tank only has MBAs or Accountants. They lack any kind of creativity. They have never been pioneers in any kind of software or hardware. Mouse - Xerox, Apple. OS - Apple, Zune - ipod Apple, Xbox - PS2, Xbox 360 - PS3 & now muscling their way against Wii by heavy discounts.

How can a giant a$$ company lack any kind of creativity or passion? M$ seems to have a complete wrong mentality. They are too proud to learn from anybody but shameless to copy everybody.
They just play catchup to everybody!

Saturday, December 6, 2008

Windows Must Have Applications and Tweaks

As usual, I hunt for better tools to perform the mundane tasks on a PC. In my experience, I have found the following applications absolutely necessary. I always setup my machines whereever I go, so all these apps/tweaks are handy. These all are mostly Windows XP applications.


1. Cygwin* - xemacs, openssh, rsvt (x11 terminal), Personalized .bash_login*, .vmric*, .xemacs*
2. Firefox -
Firebug, Adblocl Plus. All in Sidebar, AniDisable, Download Status,
DownloadThemAll, FlashBlock, Foxmarks* - Bookmakrs & Password Syncrhonizer, Better Gmail 2, Webmail Notifier (Gmail, yahoo, etc.),
Google Calendar Notifier, Tab mix plus, Undo closed button,
Greasemonkey - Gmail full width, Regular expression tester, remove marque (I find this really annoying!), dragdropupload, Secure Login, ScribeFire, Ctlr-Tab.
3. Notepad++ : Really good notepad with advanced features. Somewhat better than Textpad. And yes its free!
4. Console 2  - Tabbed shell.
5. QTTabBAr - Tabbed explorer*.
6. Beyond Compare - Its not free, but an awesome app for comparing files and folders!
7. Microsoft Power Toys: Tweak UI, Clear Type Fonts - MUST, Alt Tab Replacement
8. Ditto - mulitple clipboard*
9. JD GUI Java Decompiler*
10. CuteWriter - PDF printer

Some time later I might elaborate more on the purpose of these *.

ScribeFire Firefox extension for blogging

In my pursuit for new ways of blogging, I have encountered ScribeFire. Its a Firefox (FF) extension for blogging. For me it serves as a sneaky way to blog while in office. Also, the editor splits the browsing window, so I could be reading something online, or have my references open. Also, its a snap to add a hyperlink to these references.

Somehow a lot of tools could be integrated with FF and it has become an indispensible tool for browsing and so many other things.



Thursday, May 31, 2007

Configuring ecto for Blogger

I have no clue of ecto or blogger, but due obsessive compulsion to getting the right tools, I have ended up configuring ecto for blogger.



The only thing that has detracted from the standard procedure to set an account is the Access point URL. The right one as mentioned at ecto is

http://www.blogger.com/feeds/default/blogs

ecto is an offline blogging tool for Mac OS X and Windows.



[Update: April 25, 09] ecto 3 works out of the box!