Oct 23
Android Becomes An Open Source Project:
As Android Community says in http://source.android.com/posts/opensource
“Today is a big day for Android, the Open Handset Alliance, and the open-source community. All of the work that we’ve poured into the mobile platform is now officially available, for free, as the Android Open Source Project.
You’ll be hearing a lot about Android devices. We’ve all put a lot of effort into the first Android device, and I’m really happy with the way it turned out. But one device is just the beginning.”
The source code is available on:
http://source.android.com/
October 23rd, 2008 in
Free Services,
Open Source |
No Comments |
2,338 views
Oct 10
Resolved Nutch java.net.UnknownHostException: localhost.localdomain :
Basically Nutch is an open source search engine based on Java for the search and index component.
Have you started setting up Nutch environment for crawling & ran into this kind of exception, don’t worry I have a solution for you :);
This is happening due to misconfiguration of your hostname. Use hostname command in the console to find out your hostname.
Afterwards follow this POST http://knowledgeexplosion.info/index.php/Technical/2007/12/17/best_way_to_change_hostname_in_linux to change your hostname & you are done.
The nutch will work like charm.
~Ruitu
Oct 09
Linux Simple Command To Find Files Based on the Timestamp:
We can combine find with -mtime to search the files based on the modified timestamp
To find files which were modified 5 days ago:
find . -name ‘*.xml’ -mtime 5
To find files which were modified 5 or more days ago:
find . -name ‘*.xml’ -mtime +5
To find files which were modified less than 5 days ago:
find . -name ‘*.xml’ -mtime -5
To find files which were modified more than 2 days ago and less than 6 days ago:
find . -name “*.xml” -a “(” -mtime +2 -a -mtime -6 “)”
Similarly we can use other switches:
-amin n File was last accessed n minutes ago.
-anewer file File was last accessed more recently than file was modified.
-atime n File was last accessed n*24 hours ago.
-cmin n File
October 9th, 2008 in
BASH,
Linux |
No Comments |
3,896 views
Sep 30
I found this interesting article while surfing the web. So can we predict the future of our hard disk?
Here is the PDF ebook by O’reilly “Detect hard disk failures before they happen”
September 30th, 2008 in
Random Picks.. |
No Comments |
1,449 views
Sep 28
Google Phone with android is out:
Gizmodo Editor says: “So here I was, all excited about Android. Not because the G1’s physical design is especially attractive. In fact, it’s a gray design with no soul. Not because of the user interface, which at first glance reminded me of a mash-up between the Nintendo DS and a ’90s Windows desktop manager. No, I was excited because this is the first post-iPhone smartphone that could be a serious challenger to Apple’s mounting dominance. Then I looked closely at this image and realized the G1 will not pose a threat to Apple at all.”
That’s an interesting story.
That’s a source article
http://gizmodo.com/5053734/how-many-google-phone-engineers-does-it-take-to-tell-the-time
September 28th, 2008 in
Other,
Random Picks.. |
No Comments |
1,326 views
Sep 25
Advanced SSH security tips and tricks:
There are advanced settings which can be performed to make your ssh more secure. All this settings can be configured in /etc/ssh/sshd_config. I came across this article on Linux.com. This is quick pick on the tips:
- SSH listens for connections on port 22. Attackers use port scanner software to see whether hosts are running an SSH service.
Edit the /etc/ssh/sshd_config file change the port number for the following line:
Port 22
Restart the SSH service:
/etc/init.d/ssh restart
- SSH2 is more secure than SSH1; So just use SSH2 protocol.
Edit /etc/ssh/sshd_config and look for the line that says:
Protocol 2,1
Change the line so it says only protocol 2.
- Disable the Root access to the SSH config file. Edit the following line in the file
PermitRootLogin yes
Change yes to no and restart the service.
The entire source article can be found here:
http://www.linux.com/feature/61061
September 25th, 2008 in
Linux,
Other,
Systems |
No Comments |
1,669 views
Sep 25
Simple & Quick Steps for Setting Up Private/Public Key Authentication Using DSA:
First Scenario: Host Server & Client Machine both running Linux distro
-
It assumes that you have ssh-keygen installed on your machine. If not, go & grab the appropriate RPM from
http://rpmfind.net/linux/rpm2html/search.php?query=%2Fusr%2Fbin%2Fssh-keygen
-
Go to ~/.ssh/ in your console and use the following command
ssh-keygen -t dsa -b 1024
You should see something like this:
Generating public/private dsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/username/.ssh/id_dsa.
Your public key has been saved in /home/username/.ssh/id_dsa.pub.
The key fingerprint is:
bla…blahh…
- Login to the Host server & do the same stuff
- Now Copy the id_dsa.pub from Server to you local machine using SCP or SFTP
- Cat the id_dsa.pub from server to authorized_keys2 under .ssh like
cat ../id_dsa.pub >> authorized_keys2
- Change the permissions on file like
chmod 700 authorized_keys2
- Now you can use ssh-copy-id command directly for copying the local machine id_dsa.pub key to authorized_key2 on host server like
ssh-copy-id accountname@remotehost.com
If that’s complicated for you then follow the same steps 4-6
- You are done :); Restart the shell you should able to login on host machine without using the password
September 25th, 2008 in
Linux,
Open Source,
Other,
Systems |
No Comments |
1,510 views
Sep 06
Migrating From Subeclipse to Subversive in Eclipse Environment:
Recently I ran into different issues with the Subclipse (Eclipse plugin for version control). So I decided to give a try with Subversive plugin. Here are the steps for migrating your project settings from Subclipse to Subverive without importing the entire project.
- Right click on project name–> Team –> Disconnect . This will ask if you want to disconnect project from SVN. Choose the option where it says, it will preserve the all metadata information.
- Follow this step for all projects.
- Install Subversive using following instructions through Eclipse’s Find & Install feature – Installing Subversive
- After restarting eclipse, Right Click on the project name. It will have option for “Share Project”. .
- When you will click on that it will automatically pick your repository & you just need to enter your username & password required for the SVN access. And you are done !!
Note: If it doesn’t pick your SVN repo; Give it manually with project’s trunk (considering you follow the regular SVN module conventions)
September 6th, 2008 in
Development Tools,
Eclipse |
No Comments |
2,458 views
Aug 18
First Android Based Smartphone Approved:
The Federal Communications Commission on Monday gave Taiwan-based HTC approval to operate the Android-based smartphone in the U.S. in head-to-head competition with Apple’s popular iPhone and its App Store.
Few details about the phone have been made public because of a confidentially request filed by HTC which asked the FCC to keep several details about the device confidential until Nov. 10. In a written request dated June 18, Dalton Chuang, a senior manager at HTC, asked the FCC to protect “system and equipment description” because public disclosure of the details might be harmful to the company and “would give unfair competitor advantage in the market.”
There are a few things, however, that have been leaked about the smartphone that will use the Google-backed Android operating system.
The Dream, according to published reports, will support T-Mobile’s 3G network, will have Wi-Fi and Bluetooth 2.O, and is three inches wide by five inches long. Additional specs include a large touchscreen with haptic (touch) feedback, a QWERTY keypad, and Internet navigation controls below the touchscreen.
IBB consulting analyst Moe Tanabian told BusinessWeek that T-Mobile will include an application store similar to Apple’s App Store. Tanabian, who could not be reached for comment, also said the phone will come preinstalled with Google’s ad software and customers who opt to receive ads from Google may be given discounted monthly fees or a discount on the purchase.
Calls to HTC’s U.S. headquarters were not returned in time for publication.
Source Article: http://news.yahoo.com/s/nf/20080818/tc_nf/61401
August 18th, 2008 in
Other,
Random Picks.. |
No Comments |
1,344 views
Aug 12
FormatFactory – Free Multifunctional Media Converter:
Recently found this multipurpose media converter. FormatFactory is a free MP3, WMA, WAV, JPG coverter.
As per the site it’s features:
All to MP4/3GP/MPG/AVI/WMV/FLV/SWF.
All to MP3//WMA/MMF/AMR/OGG/M4A/WAV.
All to JPG/BMP/PNG/TIF/ICO/....
Rip DVD to video file.
MP4 files support iPod/iPhone/PSP/BlackBerry format.
Source files support RMVB.