Monday, November 24, 2014

How to cook rice

You can use rice cooker or normal induction cooker on top of induction stove (electric) or normal gas cooker.

1. Pour 2 glass of water inside cooker
2. Take a vessel and put 1 glass of rice inside the vessel (for 1-2 people it will be sufficient)
3. Clean the rice by pouring water and drain the water.
4. For 1 glass rice pour 2 glass water.
5. Now place the vessel inside the cooker and close it.
6. Put the weighter on the cooker and start the stove or the induction stove.
7. Wait for 4 whistles. Now switch off.
8. Wait till the heat goes and check if you are able to remove the weighter by hand.
9. Now rice is ready.

How to cook sambar (Indian)

Ingredients: 
Everest sambar powder,  or home made sambar powder
Thoor dhal,
Any vegetable of your choice (Ladisfinger / Carrot / Potato / Radish) dont use beetroot.
Rice powder
Tamarind
Turmeric powder
Mustard
Sunflower oil / Groundnut oil


Procedure:
1. Put thoor dhal in a vessel and pour water in the vessel.
2. Take a cooker and pour water in the cooker, and keep the vessel containing thoor dhal inside the cooker
3. Put the whistle on top of the cooker and keep it in an induction or ordinary stove.
4. Keep it for 4 whistles.
5. Now cut the vegetables and keep it ready.
6. Once the 4 whistles comes switch off the cooker and wait till you are able to remove the whistle with hand.
7. Put small amount of tamarind in water and boil it for some time (say 3-5 min).
8. Once it is boiled, wait till it cools and remove the tamarind and press it so that all the juice in the tamarind comes out.(throw away the tamarind).
9. Put oil in one kadai or bowl and put some mustard - heat (wait till mustard makes crackling sound).
10. Now put the cut vegetable inside and fry for some time.
11. Pour the dhal along with the water in the kadai or the vessel.
12. Next pour the tamarind water in the kadai / vessel.
13. Put pinch of turmeric powder and a spoon of the Everest sambar powder.
14. Now once the sambar starts boiling put half spoon of rice powder to make sambar thick.
15. Boil and serve with rice.




How to make channa masala

Ingredients :
Kabuli Channa / Kondai Kadalai
Cumen seed / Jeera / Jeeragam
Fennal seed / Sombu / Sunaf
Cinnamon / Pattai / Dhalchini
Cardamom / Yellakai / Elaichi
Clove / Krambu / Lavang
Onion and Tomato

Requirement: Put the kabuli Channa in water for 1 day

Procedure
1. Put Cumen seed, Fennel seed, Cinnamon seed, Cardamom and Clove in a Preethi mixer.
2. Now grind all the items and keep it separately.
3. Now put tomato and onion in the mixer and grind it.
4. Take a pan and pour oil and mustard in it and heat it.
5. Put the channa in it and pour little water.
6. Now pour all the grinded ingredients
7. Add turmeric powder, salt and chilli powder and noodles masala if available
8. Heat for some time
9. Serve with chapati / rice.

Wednesday, May 29, 2013

TRAKER: Terms of service and privacy policy

The application transmits current location of the user. The creator of the app does not bear any responsibility on the usage of the app by an individual. The app is still in its beta version. We do not guarantee any privacy. It is the sole responsibility of the app owner to maintain their credentials confidential. This is just a preview release more functionalities and privacy may be added in future. The terms of service and privacy policy for TRAKER app may change based on the requirements and conditions.

Friday, December 14, 2012

Instant Browse Privacy Policy Statement

Privacy Policy

The main goal of this app is to provide you with as much transparency and choice as possible. Our privacy policy will mostly remain unchanged. The app as such does not get any user information or store any users personal information. The creator of the app does not bear any responsibility for the websites browsed or the information (private) given to the websites browsed through the Instant Browse windows store app. 

Sunday, October 7, 2012

Solution for Why India not the India and why America the United States of America

India is proper noun. We do not use 'the' with proper nouns but in certain cases we can use.
America is proper noun.

The United States of America is a collective plural and hence we use the.
We call India as The Republic of India

Sunday, April 22, 2012

Solution to: org.apache.hadoop.conf.Configuration class not found when installing flumebase

Copy hadoop-core-0.20.203.0.jar from hadoop folder into flumebase/lib folder and redo
flumebase server command
In case you get logger error please read the post given below.

Thursday, April 19, 2012

Solution to SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”

Download the slf files from the website http://www.slf4j.org/download.html
add any one slf4xxxxxx.jar file into lib folder present in flume directory.

Monday, February 6, 2012

How to use quartis 2 for simulating verilog files and drawing timing diagrams

Open quartis 2 - create a new project with the needed specs as guided by the wizard

1. New project
Now right click in the in the files tab and create a new verilog HDL file and give and set it as main project

2. Type verilog code & compile
now type your sample verilog code
the file name and the module name should be the same
then in tools tab in menu bar select compile code.

3. Creating .vwf file
Now create a new -> vector wave form (.vwf) file by right clicking the in files tab
In the .vwf file,
there will be 2 columns.

4. Input to .vwf file
On the left column right click and select - > node finder
In node finder dialog box - > select all pins from the drop down list
Now,
click the button list
output: it will list all the input and output pins available

Now select the >> symbol to move the items from the left column to the right column and select OK button.

5. Now the left column of the .vwf file will be filled with input and output pins

6. now select each pin - > right click and select values -> random value


7. select your value of desired choice.

8. Now in tools menu go to simulation tool option
  select functional simulation
select the check box which says overwrite input file with output file.
click on generate functional simulation netlist button


9. Now click start simulation button at the bottom.

10. Now if you select the vector wave form file it will have the output.

11. For viewing the circuit diagram you can use RTL viewer present in viewers menu entry in simulation menu.



Sunday, October 2, 2011

Eucalyptus: ssh cannot connect to host port 22

Solution
1.if u think u are using static setting in /etc/eucalyptus/eucalyptus.conf
2. if u have already used command: euca-authorize
3. start second instance and try to ping the second instance it will work

Thursday, September 1, 2011

Timezone incorrect ubuntu

In case the time zone value shown by ubuntu is incorrect, for example Aisa/Calcutta the correct value is UTC + 5.30 but if your system shows only UTC time then follow the step to correct the time of the timezone.

ln -sf /usr/share/zoneinfo/UTC /etc/localtime

here instead of UTC type the zone that is required.

Wednesday, August 17, 2011

How to have multiple versions of gcc and switch from one version to other

First download the gcc packages
for example: cpp-3.4_3.4.4-6ubuntu8_i386.deb (1707096 bytes)
gcc-3.4_3.4.4-6ubuntu8_i386.deb (484408 bytes)
gcc-3.4-base_3.4.4-6ubuntu8_i386.deb (163028 bytes)

mkdir ~/gcc-3.4

cd ~/gcc-3.4

sudo apt-get install build-essential

dpkg-scanpackages   .   /dev/null | gzip -9c > Packages.gz

sudo gedit /etc/apt/sources.list

add the following code to the file:
deb file:///home/username/gcc-3.4 ./

replace the username with your user name

sudo apt-get update
sudo apt-get install gcc-3.4


Now you have 2 versions of gcc

Now list all the gcc that is available
$ls /usr/bin/gcc* -l

Now type

$ sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-4.2 40
$ sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-3.4 30


this will set both the gcc versions

now to switch from one gcc version to another perform

sudo update-alternatives --config



 
Now enter the number of whichever gcc you want.

I believe this will work for other packages also.

Sunday, August 14, 2011

How to login to linux/windows without grub

grub> rootnoverify (hd0,0)
grub> chainloader +1
grub> boot


In case you want the grub screen from the grub command line
grub> configfile(hd0,7) /boot/grub/menu.lst

In case of grub 2.0 then
set root='(hd0, msdos1)'
chainloader +1
boot

Tuesday, July 12, 2011

Setting up a samba server

Used for sharing files from linux (ubuntu) to windows
1. sudo apt-get install samba

2. sudo gedit /etc/samba/smb.conf
in smb.conf
security = user
usernamemap = /etc/samba/smbusers

3. now it will take the username from the file mentioned
4. first create a password for the username in the file
sudo smbpasswd -a
Now add the username to the file using the commands
sudo gedit /etc/samba/smbusers
  = “

Now we have to create samba shares and give access (i.e) create some directory in the server and give access to the file so that the windows user can read the shared document


 1. open sudo gedit /etc/samba/smb.conf
[global]
 security = share
       client lanman auth = Yes
       lanman auth = Yes

[tmp]
 comment = Temporary file space
 path = /tmp
        read only = n
public = yes
(or)
in the smb.conf (default file)
#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user’s home directory as \\server\username
[homes]
comment = Home Directories
browseable = yes
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only “username” can connect to \\server\username
valid users = %S
# By default, the home directories are exported read-only. Change next
# parameter to ‘yes’ if you want to be able to write to them.
writable = yes
 If you are using the first method then
create a directory named /tmp in ubuntu

Finally
In windows machine
go to run and type
//machinename/hostname
here machine name is the hostname of the ubuntu server

You can find the hostname by typing the command
hostname in terminal.


Once the server and client are setup find out if the directory is shared
1. smbclient -L localhost
 
This will display the name of the folder that is shared
2. How to check whether the folder sharing works properly
mount.cifs //192.168.0.2/tmp /mnt/smb
This command will mount the folder on the location /mnt/smb. If it gets mounted properly then the setup is working properly.

Saturday, May 28, 2011

How to install M5sim

M5 sim installation

1. nrs@nrs-OptiPlex-745:~$ sudo apt-get install g++ python-dev scons swig zlib1g-dev m4 mercurial patch subversion


2. hg clone http://repo.m5sim.org/m5

3. nrs@nrs-OptiPlex-745:~/m5$ scons build_opts/X86_SE/m5.opt
scons: Reading SConscript files ...

You're missing the M5 style hook.
Please install the hook so we can ensure that all code fits a common style.

All you'd need to do is add the following lines to your repository .hg/hgrc
or your personal .hgrc
----------------

[extensions]
style = ./util/style.py

[hooks]
pretxncommit.style = python:style.check_style
pre-qrefresh.style = python:style.check_style

4. The program 'style' is currently not installed.  You can install it by typing:
sudo apt-get install diction

during compilation  don't use sudo. Simply compile using scons in the given directory.

5. sudo apt-get install diction

6. scons build/ALPHA_FS/m5.debug

7. scons build/X86_FS/m5.debug

8. download the vmlinux files for the respective ISA

9. mkdir /dist/m5/system and extract the files there.

10. now for running the program use
cd ~/m5
sudo ./build/ALPHA_FS/m5.opt configs/example/fs.py

Monday, February 21, 2011

How to install R plot

Add the following line to /etc/sources.lst

deb http://cran.opensourceresources.org/bin/linux/ubuntu feisty/

or find the appropriate mirror from http://cran.r-project.org/mirrors.html and add replace the word cran.opensources.org




Wednesday, May 19, 2010

Command for varying RTT

tc qdisc add dev eth0 root netem delay 100

100 is in milli seconds
Powered By Blogger