Skip to main content

Nilesh's blog

Save Power - Switch Off Your Hard Disks

Posted in

This is small tutorial which demonstrates how you could save your environment i.e. Save Power by Switch Off Hard Disks and other components of your system Smile

This tutorial covers Linux and Windows 7.

  1. On Windows 7
    • Go to Start Menu->Control Panel
    • Click on 'Hardware and Sound'
    • On the new Window, you'll see 'Power Options', click on 'Change Power Saving Settings'
    • Choose 'Power Saver' Plan
    • Click change plan settings to configure it further.

Accessing blocked sites in your connection at school, workplace

Social networking sites like Facebook, Twitter, etc. are usually blocked on networks of educational institutes, offices, etc.

There's a simple trick to this.

You can either follow this one - http://www.ampercent.com/access-facebook-when-blocked-in-office-school/5011/

or a better one is to change your DNS server.

But note that many institutions may be already using OpenDNS to filter the network. So you cannot use OpenDNS.

Drupal filter RSS by content type

Every avid drupal user thinks of this. For sites like ours, where we don't need images and pages in the RSS feed, the RSS feed has to be filtered by content type of the node.

Yet there is no such module which makes this job easy.

But there is a way out, recently implemented by me on this site.

You need just two modules for this - Views and Views_RSS.

Linux create PDF out of any document

Posted in

PDF as it stands for Portable Document Format is preferred over other formats for exchanging data between two people (I won't say machines because they prefer something more simpler - ex. XML).

Suppose you're browsing some nice tutorial on the web and you would like to get the PDF of the same.

Apache2-PHP-FastCGI-SuExec

Yeah this is one of the most irritating type of thing to setup. I had a tough time with this, but ultimately got it right after a lot of researching.

Follow this tutorial and you'll successfully set the environment up - PHP running via FastCGI within an SuExec Environement in Apache 2 !

So lets start with a case study.

Tweeting through pidgin !

I was looking for some offline blogging client in Arch Linux's repos+AUR (I use Arch Linux). Though haven't installed anything, but I found something very special.

A LibPurple microblogging plugin !

Microblogging is done on sites like twitter, identi.ca (one more is there, but I don't remember what it is).

Hiding Files in Linux

Posted in

You want to hide some private data because your friend is going to use your computer and you are using Linux.

So how do I do that ??

Linux Applications in Windows !

 

This guide is meant for people who are forced to use Windows on their machines connected in network to a Linux server and you cannot run Linux your machine because "Applcation X" is not available for Linux.

So you want to run Linux applications on your Windows box through network eh ?

Its very easy !

A small piece on the Linux server -

Microsoft Office 2007 in Linux

Well I don't like to say this, but OpenOffice is not so good as Microsoft Office. It lacks in many features that Microsoft Office has.

But you don't want to use Windows for that single reason cause using Windows is a big hell of a job. This tutorial is meant to solve the same problem for Linux users.

How to configure SSHD on Xinetd

This is small tutorial on how to configure OpenSSH daemon on Xinetd.

This is useful if your users don't login too frequently over SSH, hence it wastes memory and CPU just by running in the background.

Note that SSHD needs to generate the server key before it reponds which can take long time depending on your key size. For small keysizes, it works well.

Syndicate content