LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 2 votes, 5.00 average.

Brinjal AKA Baingan (in Hindi) - Kashmiri style Recipe

Posted 07-13-2011 at 12:36 AM by TheIndependentAquarius
Updated 05-12-2015 at 05:32 AM by TheIndependentAquarius

Notice: Spoon measurement : 6ml heaped

Ingredients
:
  • 1/2 spoon Cumin seeds (Aka Zeera in Hindi)
  • 1/2 spoon Red Chili powder (Aka Lal Mirch in Hindi)
  • 3/4 spoon Ginger powder (Aka Adrak in Hindi)
  • 1/2 spoon Fennel powder (Aka Saunf in Hindi)
  • 1/4 spoon Turmeric powder (Aka Haldi in Hindi)
  • 1/2 spoon Salt
  • 4 slim and long Brinjals
  • Oil for frying Brinjals and Red Chili powder.

Directions:
  • The Brinjals should be cut into thin long slices.
  • Deep fry those pieces till they
...
Senior Member
Posted in Recipes
Views 52577 Comments 5 TheIndependentAquarius is offline
Old
Rating: 4 votes, 5.00 average.

"no virus" != "secure"

Posted 10-05-2011 at 01:43 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 01-14-2012 at 01:21 PM by rocket357 (spellcheck fail)

This seems to pop up a lot lately in Linux and Mac circles...

The presence of viruses for a particular platform does indeed point to security issues. However, supposing the reverse to be true in all manners is a logical fallacy (Denying the antecedent, for those interested in philosophy). It goes like this: "If a platform has viruses, it is insecure. Linux does not have viruses, so it is not insecure."

The problem with this logic is that viruses, while...
Member
Posted in Uncategorized
Views 15264 Comments 10 rocket357 is offline
Old
Rating: 2 votes, 5.00 average.

Bash scripts and keyboard input

Posted 01-29-2012 at 03:43 PM by Nominal Animal

You can use Bash to read individual keypresses. Here is an example:
Code:
#!/bin/bash

# Reset terminal to current state when we exit.
trap "stty $(stty -g)" EXIT

# Disable echo and special characters, set input timeout to 0.2 seconds.
stty -echo -icanon time 2 || exit $?

# String containing all keypresses.
KEYS=""

# Set field separator to BEL (should not occur in keypresses)
IFS=$'\a'
...
Senior Member
Posted in Uncategorized
Views 9848 Comments 0 Nominal Animal is offline
Old
Rating: 2 votes, 5.00 average.

How to reverse a linked list? - C

Posted 02-01-2012 at 06:49 AM by TheIndependentAquarius



Code:
void reverseLinkedList ()
{
	linkedList *pointer1;
	linkedList *pointer2;
	
	pointer1 = NULL;
	pointer2 = head->next;
	
	while (pointer2 != NULL)
	{
		head->next = pointer1;
		
		pointer1     = head;
		head         = pointer2;
		pointer2     = pointer2->next;
	}
...
Attached Files
File Type: txt reverseLinkedList.txt (1.8 KB, 5 views)
Senior Member
Posted in Data structures
Views 1992 Comments 0 TheIndependentAquarius is offline
Old
Rating: 3 votes, 5.00 average.

Hero Honda Splendor fork oil change

Posted 02-11-2012 at 01:36 AM by catkin

The easiest way to do this job is to remove the drain plugs but the part that they screw into within the slider may turn. If that happens a special tool is required to hold it. The procedure described here avoids that danger; it does not need any special tools.

Note on terms: the fork tube (a.k.a. stanchion) is attached to the yokes (a.k.a. triple tree) which pivot in the frame while the slider (a.k.a tube) holds the wheel. The least ambiguous terms, "stanchion" and "slider",...
LQ 5k Club
Posted in Uncategorized
Views 5754 Comments 0 catkin is offline

  



All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration