Difference between revisions of "User:Umar Sheikh"

m (Tasks participated in @ AboutUs)
m ()
Line 7: Line 7:
 
== Religion ==
 
== Religion ==
 
Islam
 
Islam
== Conundrum ==
 
What happens when you run the following program:
 
 
copy the line below twice, the first time without quotes.
 
 
"copy the line below twice, the first time without quotes."
 
 
==Answer?==
 
 
ehehehehehe, so what is the answer!
 
 
When you do as instructed, you get a repeat of the two lines as they are now. The first line without quotes becomes a new instruction. Your interpreter then executes it again and so you get a never-ending program! This is obviously in pseudo-code though.
 
 
 
  
 
==Linux commands==
 
==Linux commands==

Revision as of 06:39, 16 May 2008

Introduction

I am Umar Muhammad Sheikh. Though jobbing is not the most significant part of my life yet, I can describe it in complete detail right now. This is my first day at AboutUs, and so far, the first hour has not yet expired. Period! My first task is to write my own second home page. The first one I made was in the first introductory computer science course, and I made it for getting a good grade. This is not much different!

Interests

Martial arts (2nd dan Black belt in Tae Kwon Do), graph theory (cleared PHD qualifiers), Scrabble, a bit of reading, and a lot of day dreaming

Religion

Islam

Linux commands

more ~/.bash_history,

tail -f filename,

Vim commands

1 'CTRL+z' to send a task in the background, and 'fg' to bring it back. if there are more than one programs running, type 'jobs' to view them, and if you want a program called 'xyz' to run, there is a number next to the program 'xyz', example, n. type 'fg n' to run it. 2 'gg=G' to properly indent code (but this is by reaming in the command mode and not entering the : in the beginning) 3 '%s/ab/cd/g' to replace all occurences(the work of g) of ab with cd in a file u opened in vim. this option is given in the command mode 4 'CTRL+w+v' so that the same file opens again vertically next to itself

Irb commands

1 load "filename"

Tasks participated in @ AboutUs

Help

  • 1 I want to do a grep in all subdirectories of a given directory, but i want to exclude one subdirectory. How to do it? I know sth like "exclude=PATTERN" works, but i m not sure how. I have been trying sth like

grep -nri umar * --exclude=nimbus/ but it doesnt work.

Solutions

  • 1 sth like grep -r umar !(nimbus) works!


My Influence Us Comments

Umar Sheikh's Comments on Testinfluenceus.com

  • Umar Sheikh (delighted) : hello world 21:43, 6 May 2008 (PDT)
    • Umar Sheikh's reply : reply of hello world 22:07, 6 May 2008 (PDT)