Difference between revisions of "User:Umar Sheikh"

m (User:Umar sheikh moved to User:Umar Sheikh: Automatically moved page while renaming the user "Umar sheikh" to "Umar Sheikh")
m
Line 1: Line 1:
 
{{RightTOC}}
 
{{RightTOC}}
 
== Introduction ==
 
== 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!
+
I am Umar Muhammad Sheikh.  
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 ==
 
== 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
 
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 ==
 
== 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==
Line 45: Line 31:
 
* [[InfluenceUs]]
 
* [[InfluenceUs]]
 
* [[JavascriptCompressionTesting]]
 
* [[JavascriptCompressionTesting]]
 +
* [[CompostusBugs]]
  
 
==Help==
 
==Help==

Revision as of 09:34, 20 March 2008

Introduction

I am Umar Muhammad Sheikh.

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!