Archive

Archive for the ‘Tips 'n' Tricks’ Category

How to: Make a password less SSH Login

March 10th, 2010 oDx No comments

First  you will have to generate key on local machine.

For that type in the following command in a terminal. Here we are using RSA encryption.

ssh-keygen -t rsa

It will ask you for a password but you can leave it blank.

Note you could also pick -t dsa if you prefer DSA encryption.

Ensure that the remote server has a .ssh directory

Make sure the server your connecting to has a .ssh directory in your home directory. If it doesn’t exist you can run the ssh-keygen command above, and it will create one with the correct permissions.

Copy your local public key to the remote server

If your remote server doesn’t have a file called ~/.ssh/authorized_keys2 then we can create it. If that file already exists, you need to append to it instead of overwriting it, which the command below would do:

scp ~/.ssh/id_rsa.pub remote.server.com:.ssh/authorized_keys2

Now ssh to the remote server

Now you can ssh to the remote server without entering your password.

Security

Now keep in mind that if someone need to login to the remote server, all s/he need is the file on your local machine ~/.ssh/id_rsa, so make sure it is secure.

  • Share/Bookmark

How To: Sync Ipod or IPhone in Ubuntu or in any Linux Using Itunes

March 3rd, 2010 oDx No comments

Well first let me make it clear that, I am not using wine or any other syncing tools for Linux. I am actually using Virtual Box.

So First install the non GPL version of Virtual Boz in you linux. Then just install Windows Xp in this Virtual Box. You can read the article for setting up Virtual Box Here.

After setting up windows XP properly install itunes 8.2. You can download Itunes 8.2 from here.

Then Plugin your Ipod or Iphone to your system. Then for your guest to recognize the ipod/iphone you will have to make a change in the Virtual Box. In the virtual box guest window frame, You can see a USB icon. See the Pic below.

Right Click that icon and select the ipod/iphone Now If you open the itunes in The guest OS you will see the Ipod/Iphone is connected status.

Now if you need all the Music /  Video / Picture files to be accessed by from Windows XP, you need to create the shared folder in Virtual Box settings. For this select the Devices and Shared Folders from the top menu in the Guest Window. Then add the Muic/Video/Picture folder there.

Now for the ease of use, you can map these as network drives. For this Just right click on the “My Computer” in Windows XP and select Map Network Drive, and then browse to the shared “vboxsvr” folders. Also select a suitable Drive name. Now you can see you favorite media folders as Drives in your My Computer.

If you have done till this, you can just use the iTunes as you were using it in the Windows Machine.

  • Share/Bookmark

How To: Boot into SafeMode in Mac

February 19th, 2010 oDx No comments

For troubleshooting purposes it is the best idea to boot into Safemode. In Mac you can boot into safemode by pressing and holding the shift key while the system is booting up. It will turn off all nonessential system-software nubbins in an effort to get a sick machine at least powered up.

It can come in handy when you’ve just installed some new piece of software and find that you can’t even start up the machine, or when one of your fonts is corrupted, or when something you’ve designated as a Login Item turns out to be gumming up the works. With this trick, you can at least turn on the computer so that you can uninstall the cranky program.The trick is to press the Shift key as the machine is starting up. Hold it down from the startup chime until you see the words “Safe Boot,” in red lettering, on the login screen.

  • Share/Bookmark
Categories: Tips 'n' Tricks Tags: , ,

How to: Make your Linux with Gnome look cooler than Windows 7

February 18th, 2010 oDx No comments

The first reason for any normal computer user to use Windows 7 is its cooler look and faster performance. Extended support for themes, desktop gadgets, sidebar etc are helping windows 7 to look nice. The people who uses linux for every day use is increasing day by day, but still its not even close to the numbers of windows users. The main reason is being the ugly user interface, which is not the truth but what most people think.

Now in a KDE desktop, for example Kubuntu, all these effects which windows 7 boasts to have, are there. But what about the Gnome Lovers, so thats why I am writing this blog post today. Gnome can be made lot more cooler than even windows 7 with the use of some tools. Cairo-Dock/Glx-Dock is on of this kind application.

With Cairo Dock we can make the Gnome desktop look like anything we want. The best feature of this cairo-dock is, it is customizable to very high extend. Cairo-Dock is a bar to launch applications hosted (or dock, to the way Mac OS X) incorporating in its latest versions, management of plugins as desklets (or widgets) directly displayed on the desktop of user icons such “interactive”. Incorporated by Fabrice Rey (aka Fabounet) and developed on Ubuntu (also works on other distributions and desktop environments Linux in 32 or 64 bit) it allows quick launching favorite applications directly from the user’s desktop.  A manager of transparency as Compiz Fusion, Beryl, Compiz or Metacity associated with xcompmgr is necessary.  The dock also works under XFCE (with the composite manager xfwm4 or Compiz), and normally with KDE since Kwin manages the composition display.

You can find the installation instruction HERE. Information for Ubuntu Users are available HERE.

PS: If you are experiencing any issues after the install, just right click and quit the application and then launch it by using the -c switch. like cairo-dock -c.

Also if you are using Radeon cards, you may want to add the boot parameter radeon.modeset=1.

If you got any doubts ask me, through he comments. Here are some desktops which uses Cairo-Dock.

  • Share/Bookmark

How to: Integrate Google Buzz to your Blog

February 16th, 2010 oDx No comments

Now that google’s Buzz is really making a Buzz in the internet world, everyone with a blog or website might be trying to figure out how to integrate it with their website. Now here I am going to explain how to integrate it to your wordpress blog.

The easiest way for doing it is Use Plugins. I will list a few plugin which will do the integration for you.

Google Buzz Button

This Google Buzz Button plugin that allows you to add a “Buzz This” button to each of your WordPress posts. this may also look familiar because lots of famous techie websites use this.

How to:

  1. Download Google Buzz Button Wordpress Plugin
  2. Upload in wp-content/plugins folder on your server
  3. Activate the plugin from Plugin Dashboard
  4. Done! A new Google Buzz Button will start appearing after the post content on each single page. You can customize the location of Buzz Button.

WP Google-buzz

Another button plugin option is WP Google-buzz. This plugin has some more options compared to the previous one.

Features:

  1. Show Google-buzz button before/after post content.
  2. Manual insertion of code: Use this: <?php if(function_exists(‘add_wp_google_buzz’)) { add_wp_google_buzz(); } ?>
  3. 10 different beautiful image options

WPBuzzer

This plugin also has got lots of options by which we can customize the look and feel.  Download WPBuzzer v0.5 from here.

Light Social

The Light Social plugin takes a slightly different approach to the Google Buzz button. Light Social is a plugin that inserts a set of social share links at the bottom of each of your WordPress posts.

Buzz In Your Sidebar

Google Buzz ER Plugin allows you to use the google Buzz features to display your public Buzz content. Just enter in your username and define how many Buzz entries you want to display and drag the widget to your designated choice in your blog.

  • Share/Bookmark

Change the default white background of about:blank in Firefox

February 16th, 2010 oDx No comments

Using the Stylish extension for Firefox, we can set a custom style for the page, and even embed images into the style to make it really look great.

If you are feeling ambitious you can easily create your own style, or you can skip down further to take a look at some of the styles already created by the people at UserStyles, some of which are really sweet.

Install the Stylish extension for Firefox.Now

click on the icon in the status bar, choose Write Style and then Blank Style.

image

Give your style a description, and then paste in the text I’ve provided below. This will make a blank white page with your image in the center…

image

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url(”about:blank”) {

* {
background:
url(”data:image/png;base64,INSERT BASE64 ENCODED IMAGE HERE”);
margin:0px;
background-position:center;
background-attachment:fixed;
background-repeat:no-repeat;
}
}

You can just

To insert images into the style, you have two choices:

  1. You can directly insert a link to an image hosted on a server by replacing the url() line in the CSS with this one:url(http://www.server.com/link_to_image.png);
  2. You can base64 encode an image into text instead so that it’s embedded into the stylesheet, which is the best option for most people. How do you do this? There’s any number of web-based converters that will handle this, including this one that I found: Binary File to Base64 Encoder / Translator – greywyvern.com

Just copy the converted text into your stylesheet where indicated, and it’ll work. If your image isn’t PNG format, you should change the image/png line to reflect the correct type. (most of the converters will give you the correct format).

Or just use the ready-made theme like styles for the ease of use.

image

Light Firefox – http://blog.mzzt.net/2007/04/10/aboutblank/

image

Dark Firefox – http://userstyles.org/styles/2433

image

Brushed – http://userstyles.org/styles/1746

image

Blue Firefox – http://userstyles.org/styles/1761

You can find a ton of user styles over at userstyles.org.

credit: [How to Geek]

  • Share/Bookmark
Categories: Tips 'n' Tricks Tags: , ,
Contact Us

*required fields

Thank you. Your message has been sent.
There was an error while sending your message. Please try again later.
Plugin by psd to wordpress Solutions.