Sunday, September 22, 2019
Quality Assurance - Must Know
Sunday, September 12, 2010
Stagefright player and its class diagram...
An overview of Stagefright player
- MediaExtractor is responsible for retrieving track data and the corresponding meta data from the underlying file system or http stream;
- Leveraging OMX for decoding: there are two OMX plugins currently, adapting to PV's software codec and vendor's hardware implementation respectively. And there is a local implementation of software codecs which encapsulates PV's decoder APIs directly;
- AudioPlayer is responsible for rendering audio, it also provides the timebase for timing and A/V synchronization whenever audio track is present;
- Depending on which codec is picked, a local or remote render will be created for video rendering; and system clock is used as the timebase for video only playback;
- AwesomePlayer works as the engine to coordinate the above modules, and is finally connected into android media framework through the adapter of StagefrightPlayer.

Wednesday, June 2, 2010
[Ubuntu] Error while logging-in.
“The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator.”
Behavior:
After you enter the password on login screen, it takes you back to login screen making you unable to log in.
Solution:
However, you can still get to terminal. Press Ctrl+Alt+F1 to drop to terminal from login screen. Enter your username and password and execute the following command:
sudo apt-get clean
This will clean up the package cache freeing up lots of disk space. If you don’t have anything in the cache you’ll have to move your files to another partition. You can use mvfor the purpose.
mv source destination
For eg;
mv ./file.zip /media/disk-3/file.zip
This will move the file – file.zip to /media/disk-3.
Cheers!
Monday, April 5, 2010
Network Card Information.
# dmesg |grep eth0divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xd800, 00:80:48:34:c2:84, IRQ 9
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
divert: freeing divert_blk for eth0
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xd800, 00:90:44:34:a5:33, IRQ 9
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
...
Wednesday, March 31, 2010
how to set variables in Linux ubuntu...???
Is there any way to set environmental variable "PATH" permanantly so that it will not dissappear from PATH variable listing?
this is what you should put in that file:
export PATH=$PATH:
OR
If you want to set the path of a user you can edit your .bash_profile in home directory.
In my .bash_profile i have:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=
fi
If you don't have it copy and paste this code.
Thursday, February 4, 2010
Only for u jAAnAAA...
Yuun to baarish ki boondon ne hamesha hi fantasize kiya tha,
Ohhoooo abhi samajha yeh achanak badlaav ka raaz,
Yaara yeh pyaar bhi badi kamini cheez hai...
Abhi kissi ke saath hone ke ehsaas jude hi the ki,
Monday, June 1, 2009
Sunday, April 5, 2009
Get Latest Computers, Laptops and Solutions to all sort of technical problem with Faith and Confidence that you have on ME ;-)
Here you can get all the gadgets under one rooof... Computers, laptops, accessories, Yearly services.
Simply walk to our shop purchase your dream gadget and usee it as you wish. Forget about its maintenace its our responsibility.
Shop..
PRIMO Peripherals
New Delhi.
Monday, August 25, 2008
Training at LnT Infotechhh
jaane kaun kaunse bhagwaan ke naam main le raha tha,
chachu the saath me mere, par unko bhi bahar rok liya tha,
ab to akele jana hai, maine bhi yeh soch liya tha,BHaiyoon woh mera LnT office ka pehla din tha,,,
decency ki har limit ko maine cross kiya tha,
chaprasi ko bhi main sir ji bol raha tha,
whan sabhi ko angrezi me bolne ka bhoot sawar tha,
ohoooo HR walo ko Impress jo karna tha,
wahan ki bandiyoon ne hume bahut aakarshit kiya tha,
saath me ho humari training, dua me rab se yahi kaha tha,
Company ka mahool dekhkar me thoda excited tha,
pal pal har pal kuch aur hi me soch raha tha...
ghar to mila par chabi ka koi thikana na tha,
aur jab room par pahucha to wahan ek parinda bhi na tha,
ghar dekhne dusre bande ke flat par chala gaya था.
waha "Sab chor hai" aisa me baar baar sun raha tha...
aur jab palat kar dekha to topi pehne ek banda khada tha,
humne bhi haskaar usse baat kiya thaaa;
par hume kya pata tha woh bhi humari hi tarah dukhi aaatma tha...
hum apna samaan lekar jab wapas aaye to room kuch bhara bhara sa tha,
Chachu ko alvida kaha aur sab bando se haath milaaya tha,
tabhi hum sabne khane ka program banaya tha,
sridevi me ek thali aur 1 glass doodh niptaya tha॥
dukhi aatma ka concept abhi baki reh gaya tha,
woh topi wala banda humse phir se takara gaya tha,
ghar me uske kuch panga tha aur woh apna saaman liye ghoom raha tha,
hum se raha na gaya aur chalte chalte humne ek naya dost banaya tha...
agle do din kuch khas to na ho paya tha,
bas ek ladki ko dekha tha jis par humara dil aaya tha,
*naam
kudi thi soni naam tha Mona(Changed) pehli nazar ka asar ho gaya tha...
phir rab se wahi dua maangne ka karyakram shuru hua tha,
wahi bandi humari batch me aaye baki sab maine plan kiya tha,
na woh bandi aayi na pyaar parwan chadaa tha,
baad me hume pata chala uska boyfriend bhi wahi khada tha,
mast hoon, yeh na mili to kya kissi aur se to takrana tha...
bacche divide ho chuke the aur humara billa number 85 tha,
in anjaan logo ko hume apna dost, nahi accha dost banana tha,
par sabse pehle hume apne aap ko sabke saamne laana tha,
kudiyoon ke bina nahi chalta hai zamana humne bhi seekh liya tha,
6 ka gang tha 3 bande aur 3 kudiyoon ka sahara tha,
"Decide first instead of others decide" ka funda humne apnaya tha,
Aur tohfe me humne "Blank" hone ki bimari ko paya tha,
nautanki ke maamle me humara group kissi se kam na tha,
acche accho ko pani pila de,,, humare PJs me woh dum tha,
Poora batch humare hasne ki bimari se pareshan tha,
aur hume bas shaam ke free snacks ka intezaar rehta tha।
ek perfect group ka example humare batch ka hona tha,
intelligence, khoobsurati, masti aur nautanki ka sangam tha,
24 me se 16 ghanto ka humara saath tha,
baki ke 8 ghante me sirf sone ka hi program rehta tha।
batch 85 ka masti gang ekdam jhakaas tha,
Jahan dumbcherades me bhooto ki movies ka raaj tha,
wahi humari skits me thirsty queen ka shabab tha,
Fish pond ko me kaise bhool sakta tha,
Saala meri hi parchi Amit Singh ko padna tha,
But the best was mera and shru ka lallu ke liye love letter likhna tha,
And sabhi ke liye songs dedicate karna hmmm gana gane ka accha bahana था....
bachpan ki saari yaadon ko humne phir se jiya tha,
toffi chocolate ko chodho asli maza to lollypop khane me hi tha,
bachpan ke khele games me se shayad hi koi humne miss kiya tha,
naach gaana to humne jab marzi tab kiya tha...
pinky, pinky what color se humne khelna shuru kiya tha,
phir to football, cricket, hide n seek, train aur na jane kya kya khela tha,
par asli maza to choti si class me blind fold khelne ka tha,
And the best part santosh and arif ka chupkese khidki se jhakna tha,,
and then as usual humari nautanki ka shuru ho jana tha.
jo jahan rehta tha wahi khada ho jata tha,
asli creativity show karne ka yahi to mauka hota tha,
koi baju wale se doubt poochta tha,
to koi chup kar wahi baith jata tha.
kuch jyada hi unusal position me ho to girne ka bahana sabse aakhri hota tha...
ghoomne phirne ke maamle me humara batch thoda lucky tha,
kahin bhi ghoomna ho 8-10 bando ka grp hamesha tayyar rehta tha,
shuruvaat to humne talaav pali se kiya tha,
phir to juhu beach, gateway, essel world, haji aliaur na jane kahan kahan ghooma tha,
but still i pray ki is shuruvaat ka koi end na aaye,
kissi ki nazar na lage is group ko jisse humne itni mehnat se banaya tha...
Ghoomne se yaad aaya humari kismat pe shani maharaaj ka raaj tha,
Kuch bhi socho hamesha ulta hi hota tha,
4 baar humara siddhivinayak mandir ka program cancel hua tha,
and finally jab hum pahuche to mandir band ho chuka tha। .....
shuru shuru me company ki bus ka intezaar hota tha..
par dheere dheere auto wale bhaiya ko humara intezaar hota tha,
Din ki shuruvaat bhaiyaa ji ke pohe se hoti thi,
aur raat me todays ka khana humare liye amrut samaan hota tha...
har test ke baad humara movies ka plan hota tha,
padhte to kuch nahi the lekin stress releif ka bahana hota tha,
movies chahe jaisi bhi ho, hume to jana hi hota tha,
Aree chat, pani poori,chane aur jaamun khane ka accha jo bahana hota tha,
Projects ka sama tha aur bando me junoon tha,
poora batch HLD DLD banane me uljha hua tha,
lekin humare group ka alag hi haal tha,
modern washroom kaisa ho ispar horrible discussion chal raha tha,
hass hass ke humara bura haal tha,
bichari sonal bhi sochti hogi ki aisa kaisa design humne banaya tha,
presentation se aadhe ghante pehle hi humne Class diagram banaya tha,
anyways intni nautanki ke baad bhi humara group hi first aaya tha...
Hum jahan ho wahan dange na ho aisa to ho hi nahi sakta tha,
aur dango me bahar jakar poha khane me alag hi maza aa raha tha,
isi beech police ke aane par jo daud lagayi wo shayad hi kabhi bhool sakta tha,
and dunge khatam hone ke baad shru ke theple wahh maza aa gaya tha....
poori training me sirf 2 hi logo ne raaj kiya tha,
sabse pehle Padi maharaj ka ashirvaad tha,
Unka naam jubaan par aate hi,hassi ko apne aap aa jana tha,
Aur uske baad babbar maharaj ka aagman tha,
Ohoo lallu ka unke prati pyaar kahan kisi se kam tha,
Aur hasi ke gubbare ne bachi kuchi kasar ko poora kar diya tha।
un suhani yaadon ko dil me basa liya tha,
masti-aish-nautanki ko humne redefine kiya tha,
shru se choti choti baaton pe ladna,
poore batch ne saath me circus ka program dekhna,
aur baad me aunty ke dance steps ka copy karna,
woh beech session me piche mudkar hasna,
padhi ko dekhkar unke charan ko choone bhagna,
babbar ke saath lallu or ghode ka naam jod dena,
lallu aur uske superman ke maze lena,
aunty ji ki choti choti baaton ka mazak udana,
mittal ka thak thak thak karke chalana,
call centre ka kone me baithkar din bhar phone me lage rehna
aur uske competition me reliance phone liye ek banda ka hona,
maharani jaise haath me dupatta liye kashmiri ka aana
aur shirke ka sleeping queen ko unusal style me sote hue pakadna
Woh deadly skits aur thirstty queen character ka janam hona
itni saari yaadon ko bahut mushkil hai bhool pana...
zindiagi ek mela hai aaj mujjhe samajh me aaya tha
logo ka aana jaana to isme laga rehna tha,
humara tumse milna kahan kissi ne socha tha,
lekin rab ka shukriya hai ki dosti ka yeh pyara bandhan humse jud gaya tha,
dekhte hi dekhte 2 saal ka time yuhi gujar gaya tha,
ab to sony me baithkar bas yuhi sir phodna reh gaya tha,
lekin kahani khatam karne ka accha bahana tha,
Un 4 mahino ka ehsaas dil ke itne kareeb hai is ka ilm inhi baaton se lagaya ja sakta tha,
ki 2 saal ke baad bhi aaj yahan baithkar,
2 din me un 4 mahine ke ehsaaso ko likha tha...
Thursday, August 21, 2008
About me...
Thoda nalayak hoon, thoda kameena, nautanki to mere rag rag me hai,
Rules todna, lekin sab ki care karna bhi khoob aata hai,
Hasna hasana, ghoomna phirna aur aish karna mere shauk hai,
Lekin un bheegi palako se yeh banda bahut darta hai,
Pyaar to me sabhi se karta hoon lekin waat lagana bhi aata hai,
Aur ignore maarne me shayad hi koi mere jaisa hai,
Aur agar mujhse jhagada karna hai to yaad rakhna,
Expecting first move from me sabse badi bewkoofi hai…
Yeh banda tanhaiyoon me khud ko tarashta hai,
Akelepan me un galatio se ladata, jhgadata aur jhoojhta hai,
Har jeet me apni haar talashta hai,
Hai na ajeeb banda,,, andhere se bhi utna hi pyaar karta hai,
Banda yeh bindaaaas Virgo hai,
Extreme experiences ka shauk hai,
Aur jab tak perfection na ho,jeene ka maza kahan hai,
Khaawishein saari nawabi zaroor hai,
Par in sapno me jaan daalna hi to meri strength hai,
Ohh in sapno se yaad aaya hai,
Is duniya se alag apni ek sapno ki duniya banai hai,
Kuch anjaaan chehre to kuch jane pehchane naam hai,
Kuch naye ehsaas hai kuch apno ka pyaar hai,
Thodi creativity baaki sab bakwaas hai,
Dostoon ne hamsha pamper kiya hain
Kissi ne baby ki tarah to kissi ne apno ki tarah,
Thoda cute hoon and banda yeh thoda decent bhi hai,
Thoda kam bolta hai lekin,,,
Romantic hoon sabhi bandiyoon ne yehi kaha hai.....
Tuesday, August 19, 2008
Excitement of my First Onsite to Japan
Woh kehte hai na jo saal ke pehle din karo wohi saal bhar karna padta hai...
sahi kehte hai..
kismat ka khel to dekho phirta tha main mara mara
LnT ke office me main ghoomta tha main awaaraa..
Doston 31st night i worked late till 3.00 am and 1st jan '08 ko subah subah i was again in office na neeend poori hui thi and dinbhar kaam kiya tha...
yahi soch kar ki ek baar kaam khatam ho jayega to thoda rest kar lunga and then
japan jana hai Sony Ericsson me kaam karna hai...
Jiase taise 1st ko poora kaam khatam kiya and then ghar jakar lamba(wanna sleep) hone ki soch hi raha tha,
ki yaad aaya cutting karana hai... phir daud laga di then dmart and then Vashi Galleria jana tha...
Sona to bas Sapno me hi tha..
ek naya sa ehsaas tha aur sochta rehta tha...
japan jana hai Sony Ericsson me kaam karna hai...
Packing karte karate, daudte bhagte sab ko good bye kehta hua..
najaane kitne logo se zindagi me shayad aakhri baar milta hua ..
kuch ankahin baatein liye, kuch armaanon ko dil me dabata hua.. main ja raha tha
delhi pahuchar Bachi kuchi packing khatam karte hua sabse milte hua
thodi shopping to baki sab ko pareshan karta hua
mumma se cooking sikhta hua to kabhi haath to kabhi gaarm soop se jeeb(tongue) jalata hua,
friends aur unki gal friends ko saal ka aakhri salaam karta hua
me poori tarah se tayyar tha,
thodi khushi thi aur thoda bichadne ka ehsaas tha aur soch raha tha ki
japan jana hai Sony Ericsson me kaam karna hai...
Aakhir woh din aa hi gaya jab mujhe airport ke liye rawana hona tha..
mom dad chacha chachu dadi aur bacche sabse akhiri baar milna tha.
indica me saaman dalte hue ghar se nikalte hue chaat wale ka thela aakhri baar dekh raha tha.
aakhoon me sapne hazaar liye me shayad yahi soch raha tha ki
japan jana hai Sony Ericsson me kaam karna hai...
30 kilo ka suitcase liye main airport me akela chala ja raha tha,
thoda sa ghabra raha tha kahin kuch galat samaan to nahi le ja raha..
kahin custom wale jail me na daal de,, maaa ne itni mehnat se laddu banaye hai kahin security wale na kha jaye..
chaku churi lejana allowed hai ki nahi and the worst of all hand baggage the wazan(weight) 10 kilo se jyada tha,
dar to lag raha tha par yeh soch bhi raha tha ki
japan jana hai Sony Ericsson me kaam karna hai...
saara saaman theek thak tha aur saare documents bhi sahi laya tha...
aur 10 kilo wala hand bag bhi within limit aaya tha.
Aur sabse badi baat bina koi fine diye yaaron plane me main finally aaya tha,
ek ajab si khushi thi dusri baar jo internationaal flight me baitha tha
baithe baithe yahi soch raha tha ki
japan jana hai Sony Ericsson me kaam karna hai...
Socha tha chalo plane me thoda timepass ho jayega
Air hostess ko dekh kar thoda man behal jayega..
Par hume kya pata yeh Indian Airlines se bhi badtar(worst) plane nikalega..
saari airhostess mummy ki umar ki thi aur khane me bhi ubala hua andaa(egg) tha..
Chalo koi nahi, Vedio on demand ka sahara tha..
3-4 english movies dekhi and thoda game khelte hue poora time kat gaya tha..
aur udate udate yahi soch raha tha ki
japan jana hai Sony Ericsson me kaam karna hai...
aur dekhte hi dekhte humara plane tokyo me land kar gaya tha..
kitaabo me humesha pada tha ab narita airport ka darshan bhi kar liya tha..
na sone ko mila aur time difference ke chalte 3 ka 6 baj gaya tha..
immigration ke saare form bharte and currency convert karate karate
me yahi soch raha tha ki finally
japan pahuch gaya hoon ab Sony Ericsson me kaam karna hai...
Shandaar *limousine me baith kar me ghar ja raha tha,,
2-4 *indians ko dekh kar man bahut khush ho raha tha..
uchi lambi buildings aur saaf sutheri sadak dekh raha tha,,
japani bandiyoon ko dekhkar, japani gudiyaan yeh term itna famous kyo hai, yahi soch raha tha
bandiyaan stylish aur smart thi bas aur isse jyada me kuch nahi keh sakta tha..
Thand me haath kaap rahe the aur yahi soch raha tha..
japan pahuch gaya hoon ab Sony Ericsson me kaam karna hai...
Finally maine *Gyotuku pahuch kar Unnati ko call kiya tha..
Videsh me apne logo ko dekhna kitna accha lag raha tha..
woh garam garam chai woh pyara sa bistar mujhe dikh raha tha..
na khane ka hosh tha na nahane ka man tha..
aakhoon me nind thi and dil me yeh khayal tha..
japan pahuch gaya hoon ab Sony Ericsson me kaam karna hai...
Ghar to shaandar tha, tv fridge ac heater oven dekh kar main thoda hairaan pareshan tha..
Dostoon india me akele 1 room me 2 log rehne waloon ko aisa araam kahan tha..
ab hume 80,000 room ka kiraya bhi theek hi lag raha tha,
room ki chodo hume to kaam karne ka bhoot sawar tha,,
isi bhoot ko main bol raha tha ki..
japan pahuch gaya hoon ab Sony Ericsson me kaam karna hai...
Varun aur Vijesh se milna bhi ek sukhad(happy) ehsaas tha,
aur unnati ke haath ka khana to lajawaab tha..
kutta billi khane wale desh me sabji aur cake ka bhi shop tha
and to addd toppings on the cream wahan indian shop ka hona tha..
Aur yaaroon wahan parle G ke biscuit aur lal qilla basmati rice ka accha khasa stock tha..
Inhi cheezo ke sahare humne eksaal kaatne ka soch liya tha..
Isi khushi ke saath main soch raha ki..
japan pahuch gaya hoon ab Sony Ericsson me kaam karna hai...
Aur finally woh din aa hi gaya,
jab Sony ericsson me humne apna kadam rakh diya tha...
naya office naye log naya culture,
sab ko jhuk kar salam karna humne bhi sikh liya tha..
In jappuo ke beech me jab apni team me hindustani bande bandiyoon ko dekha,
to humara man khushi ke maare disco kathakalli bharatnatyam sab eksaath kar raha tha..
aur mujhe laga ki me aakhri baar yeh soch raha hoon..
japan pahuch gaya hoon ab Sony Ericsson me kaam karna hai...
Saare sapne chakna choor ho gaye..
hume bhi thoda sa jet leg ho gaya tha.
raat me 8 ghante aur din me 12 ghante main sone laga tha..
kaam ke naam par bas yahi dard e kahani likh raha tha..
poora ek hafta beet gaya hai aur me yahi soch raha hoon..
japan to pahuch gaya hoon ab Sony Ericsson me kaam kab milega...
woh kehte hai na jo saal ke pehle din karo wohi saal bhar karna padta hai...
Galat kehte hai..
hehehe
hahahahaha
hohohohohho...
Hoping to get some good quality work..
Wait wait wait.., yeh kaun aa raha hai….
Ohh finally…
kya on time kissa khatam kiya hai..
mera tl mere piche saaman liye khada hai..
sony ke latest mobiles, charger or najane kitna saaman diya hai,
mahine bhar ka usne kaam schedule kiya hai,
aur pm ke saath mera appintment fix kiya hai.
ek hafte me hi kaam mil gaya hai,
auro se me jyada lucky hoon..
ab me bhi shaan se keh sakta hoon..
japan to pahuch gaya hoon aur Sony Ericsson me kaam kar raha hoon...
Saturday, May 24, 2008
Network Connection problem
The solution was not cool.
First, the diagnosis was that ifconfig would not show eth0 at all. lspci and dmesg reported no errors, really, and obviously modprobe was useless. ifup reported some strange errors like:
SIOCSIFADDR: No such device eth0
eth0: ERROR while getting interface flags: No such device
Google didn't find anything useful on any search, until I came across this dude's blog who was getting an identical error in a totally different situation.
http://www.pletscher.org/blog/?p=29
WOOHOO!
I ran 'ifconfig -a' and it found an eth1 for some reason (though 'ifup eth1' also had no effect) which had a MAC address in it. I hopped into '/etc/iftab', changed the MAC address on eth0 to the MAC that was attached to eth1 in ifconfig and rebooted. VOILA! Network up and running!
Hope this helps someone.
Monday, March 24, 2008
How to create and apply a patch...
Warning: Before doing this, please backup your source code, patching wrongly can screwup your source code.
how to create patch file?
Patch file is a difference file that is created by diff with -c (context output format). To patch the entire folder of source codes(as usually people do) I usually follow this procedure...
In this case Original source code in in folder Tb01, and latest source code at folder Tb02. Also the folder might contain sub directories in it as well... So the command is.
diff -crB Tb01 Tb02 > Tb02.patch-c context, -r recursive (multiple levels dir), -B is to ignore Blank Lines.
Using -B could help u a lot because blank lines is really useless for patching, sometimes I need to manually read the patch file to track the changes, without -B is really headache.
How to patch? Doing dry-run like this: The success output looks like this: The failure ouptut looks like this: At last, if the dry-run is giving good result, do this and enjoy the compilation.
First of all, please do a dry-run before really patching it. keep in mind, patch will be working very specifically. Let say the version 3 Tb03.patch is use to patch from Tb02, if you apply patch on Tb01, sometimes it will corrupt your source code. So, to make sure it works, do a dry run. Dry-run means a fake-test, do it at the directory of the source code targeted to patch.patch --dry-run -p1 -i Tb02.patchpatching file TbApi.cpp patching file TbApi.h patching file TbCard.cpp ...patching file TbCard.cpp Hunk #2 FAILED at 585. 1 out of 2 hunks FAILED -- saving rejects to file TbCard.cpp.rej patching file TbCard.h Hunk #1 FAILED at 57. Hunk #2 FAILED at 77. Hunk #3 succeeded at 83 with fuzz 1 (offset -21 lines). ....patch -p1 -i Tb02.patch
Levels in the Patch Command (-p0 or -p1?):
The -p option will optionally strip off directory levels from the patchfile. For Ex: if you have a patchfile with a header as such:--- old/modules/pcitable Mon Sep 27 11:03:56 1999
+++ new/modules/pcitable Tue Dec 19 20:05:41 2000
Using a -p0 will expect, from your current working directory, to find a subdirectory called "new", then "modules" below that, then the "pcitable" file below that.Using a -p1 will strip off the 1st level from the path and will expect to find (from your current working directory) a directory called "modules", then a file called "pcitable". Patch will ignore the "new" directory mentioned in the header of the patchfile.
Using a -p2 will strip of the first two levels from the path. Patch will expect to find "pcitable" in the current working directory. Patch will ignore the "new" and "modules" directories mentioned in the header of the patchfile.
Using a -p3 in this example would not be a good thing. Patch probably wouldn't patch anything.
Compression and Uncompression of files in linux
Compress folder Test/ to Test.tar.gz
tar czfv Test.tar.gz Test/
czfv = ‘Compress Zip File Verbose’
If you want bzip files, use ‘j’ instead of ‘z’.
Uncompress Test.tar.gz to folder Test/
tar -xzf Test.tar.gz
x = ‘eXtract’
Again, if you want bzip files, use ‘j’ instead of ‘z’.
To compress a tar.bz2 file, use the command (note the j option)
Code:
tar -jcvf filename.tar.bz2To extract a tar.bz2 file, use the command (note the j option)
Code:
tar -jxvf filename.tar.bz2To extract a tar.gz file, the the command (note the z option)
Code:
tar -zxvf filename.tar.gzMonday, February 4, 2008
Formatting of MMC and files to be copied on MMC for booting the OMAP board.
Since putting a Linux file system on a FAT32 partition is problematic, it is recommended to
create 2 partitions. The first partition is a boot partition between 64-128 Megabytes and the
second partition is a Linux partition consuming the rest of the card.
Plug your SD card into your Linux box - do not mount it. For this example, we will assume
the card shows up as /dev/sdc - substitute this for the real device on your specific machine.
Fdisk the drive and print the partition information
Code:
fdisk /dev/sdc
Command (m for help): p
Disk /dev/sdc: 1018 MB, 1018691584 bytes
...
Look for the size in bytes of the device and calculate the number of cylinders, dropping
factions, if we have 255 heads and 63 sectors.
new_cylinders = Size / 8225280 (for this example we will have 993001472 / 8225280
which equals 120.725 or 120 cylinders)
Since we are changing the underlying geometry of the disk, we must clear the partition
table before doing it. So delete all partitions using the fdisk 'd' command - yes, you will lose
all data on the card. Once that is done, we can set the new geometry in expert mode. We
will set the # of heads to 255, # of sectors to 63, and # of cylinders to new_cylinders.
Code:
Command (m for help): x
Expert command (m for help): h
Number of heads (1-256, default 30): 255
Expert command (m for help): s
Number of sectors (1-63, default 29): 63
Warning: setting sector offset for DOS compatiblity
Expert command (m for help): c
Number of cylinders (1-1048576, default 2286): 120
Now we return to the main menu and create our 2 partitions as needed - 1 boot partition of
64Meg and the rest a linux partition.
Code:
Expert command (m for help): r
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-123, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-123, default 123): +64M
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (10-123, default 10):
Using default value 10
Last cylinder or +size or +sizeM or +sizeK (10-123, default 123):
Using default value 123
Set the partition type of the first partition to FAT32 and make it active.
Code:
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): c
Changed system type of partition 1 to c (W95 FAT32 (LBA))
* You have to format 1st partitions with vfat32 filesystem.
Code:
Command (m for help): a
Partition number (1-4): 1
The partition table should look something like the following. Notice the heads, sectors, and
cylinders. Make sure partition 1 is active and FAT32. If it looks good - write the new
partition information out.
Code:
Command (m for help): p
Disk /dev/sdc: 993 MB, 993001472 bytes
255 heads, 63 sectors/track, 120 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 9 72261 c W95 FAT32 (LBA)
/dev/sdc2 10 120 891607+ 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
Formating the partitions
Format the filesystems on the partitions
Code:
mkfs.vfat -F 32 -n boot /dev/sdc1
mkfs.ext3 /dev/sdc2
Installing the Boot Files
If you haven't already built them, you will need a u-boot image and the signed nand xloader
image.
Build x-loader (nand version)
Build UBoot
Create some mount point to use
Code:
mkdir /tmp/mmc1
mkdir /tmp/mmc2
mount /dev/sdc1 /tmp/mmc1
mount /dev/sdc2 /tmp/mmc2
Copy x-loader, u-boot, and kernel images to the boot partition. You can have multiple
kernel images and name isn't important. Note: The signed x-loader must be called MLO on
the card.
Code:
cp x-load-nand-signed.bin /tmp/mmc1/MLO
cp u-boot.bin /tmp/mmc1/u-boot.bin
cp kernel.uImg /tmp/mmc1/kernel-x.x.uImg
umount /tmp/mmc1
umount /tmp/mmc2
Insert the card into the OmapZoom and reboot or hit the HARDWARE-reset-Button. x-loader
should start and you should see the following message from the x-loader on boot.
Code:
Texas Instruments X-Loader? 1.41
Starting OS Bootloader from MMC/SD1 ...
If you see the the following output, then congratulations, you have booted from MMC. Smile
Maybe you'll need to add some bootargs to boot from MMC:
Code:
setenv bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootdelay=1
mem=128M
nand unlock
saveenv
Saturday, September 23, 2006
IT Break-out
sabhi romies office gaye hue the ,
Yuhi akele tanha baithe hue college ki yaad aa gayi wahan ki aish and b'day celebrationssss
Phir kya thaaa socha yahi likh doon..
Anyways just w word of honesty.. yeh idea thoda sa churaya hua hai.. baaki end ka part maine apane hisaab se modify kar diy ahai ;-)
So here you go..
Enjoy!!!
Aaj hamare ODC mein light chali gayi
Lappy band , AC band .. uff jaan nikal gayi
kaafi der jab 'bijli' waapas nahi aayi
tab kisi ko window ki yaad aayi
window khuli.. thandi hawa se pura floor bhar gaya
ye hawa..jo..roj chalti hai .....
elevators nahi chal rahi thi
kuch logon ko stairs bhi dhundni padi
aare ... stairs se toh jaldi pahuncha deti hain
haan ye such hai..
and ye stairs baaki days pe bhi yahi hoti hain
aur maine kya kiya ...
maine usse dekha jo khidki se bahar dekh rahi thi
woh haansi ... achi dikhti hai yaar...
haan bhai.. woh roj hi achi dikhti hai ....
she asked ... walk ? ..
maine kaha haan chalo ..
we talked and talked ..
'project','dart','java','validations',
'no issues','mail','reply' in words ke bina
bhi kaafi saari baaein ho sakti hai doston..
by the way ....she has chin dimple..when she laughsss...
tumhara favorite actor kaun hai .. mera shah rukh ..she said
maine kaha mera bhi ....
she asked really ? kyon ?
i said nahi tum hi bataao .. ( fus gaya)
aur .. actress ..usne puchcha
sharmila tagore ... i said. she said ..
aare but she is so old ...
maine kaha aarey pura to suno..
sharmila tagore ..ki.. beti soha ali khan ..
she said "auh.. very funny" (girls say that a lot hai naa!)
6 baj gaye ...she said ab ghar hi nikal jaatin hoon
but no... light villain banke wapas aa gayi ..
i said .. ab kya... kaam ?
she said haan aur kya ...
hum wapas nikle ...
kuch log ghar bhag rahe the..
ek ne chalte chalte .. apne pm se phone pe kaha ..
sir ab toh main ..
bus mein baith gaya hoon and woh chal padi hai ..
will send that doc tomorrow ...
we looked at each other .. she laughed again .. her dimple ..
toh .. hum pahunch gaye apne apne cubicle
saarein log toh bhaag gaye the
aur hum dono ne ....
apna apna kaam karna chalu kiya …
actoronki dunia se hum 'no issues' ki
duniya mein aa gaye ..
mails and messanger and documents and ....
ab 8 baj gaye..chalo ghar jaana hai
maine duur ka rasta liya ... uske cubicle ke baaju wala
woh abhi baithi hai .. i smiled.. she smiled back..
gettin late haan ? i said nahi .. abhi time hai..
haan baaaaaas.. ye ek mail ...she said
pressed control + enter ..
done ! she said ...
We took the stairs ..
yaar sahi mein stairs jaldi pahunchaati hai (kyon !!)
we walked towards the gate
she said aarey meri bus..
bye ... she said ...
and said.. see you tomorrow
sure...i said
kal log puchenge ye light kyon gayi
and mein puchunga yaar ye light
baar baar kyon nahi jaati...
maana ke light roj nahi jaati hai
per khidki se baahar dekhne mein kya harz hai
khuli saas lene mein kya harz hai
lift mein saamnewaale ke id pe employee id dekhne se acha
Usko haske 'hi..' to keh hi sakte hai
forwards toh bahut bhejte hai ..
koi personal si mail bhejne mein kya harz hai ....
Kyonki doston…light jaayen yaa naa jaayein
Ye hawa to roj hi chalti hain
saaamne wale cubicle ki ladki…. roj hi sunder dikhti hai..... ;-)
Friday, June 23, 2006
Sardar Special
• puts lipstick on the forehead because he wants to make up his mind.
• gets stabbed in a shoot-out.
• sends a fax with a postage stamp on it.
• tries to drown a fish in water.
• thinks socialism means partying.
• trips over a cordless phone.
• takes a ruler to bed to see how long he slept.
• At the bottom of the application where it says "Sign Here" he puts
"Sagittarius.".
• studies for a blood test and fails.
• sells the car for gas money.
• misses the 44 bus, and takes the 22 twice instead.
• drives to the airport and sees a sign that said, "Airport left", he turns around and
goes home.
• gets locked in Furniture Shop and sleeps on the floor
Pappu NVssss
The teacher asks Little Pappu "Which body part goes to heaven first?"
Little Pappu replies "The feet miss"
So the teacher says "Why the feet?" And Little Pappu says "Because when I go in my mummys bedroom at night she has her legs in the air shouting 'Oh my God I'm coming'"
> > > Little Pappu once asked his teacher "Do hearts have legs?." > The teacher answered "Why do you ask that?" > Pappu replied "Yesterday, I heard my dad say sweetheart open your legs."
> > *****************************************************>
Little Pappu's father asked him, "Do you know about the birds and the bees?"
"I don't want to know!" little Johnny said, bursting> into tears. > Confused, the father asked little Johnny what was wrong. > "Oh dad," Little Johnny sobbed, "At age six I got the 'there's no Santa' speech. At age seven I got the 'there's no Easter bunny' speech. Then at age 8 you hit me with the 'there's no tooth fairy' speech! If you're going to tell me now that grown-ups don't really fuck, I've got nothing left to live for!" > ******************************************************> >
Pappu goes to the doctor to have some tests... there after his sugar test....due to the shortage of cotton to wipe the blood, the nurse takes his finger in her mouth,
Pappu says to the nurse....." urine test is coming> up next"!!!
> > > 6 yrs Pappu caught in rape case. In court Lawyer( while holding boy penis):"ur honour, see little boy, can he rape someone?" Boy to lawyer:"Itna na hila, nahin toh case haar jayenge!!"> > >
Little Pappu returns from school and says he got an> F in arithmetic.> "Why?" asks the father.> "The teacher asked 'How much is 2 x 3?' I said 6.> "But that's right!"> "Then she asked me 'How much is 3 x 2?'> "What's the fucking difference?" asks the father.> "That's what I said!" .....> > > >
A few months after his parents were divorced, little Pappu passed by his mom's bedroom and saw her> rubbing her body and moaning, "I need a man, I need a man!" > Over the next couple of months, he saw her doing this several times. One day, he came home from school and heard her moaning. When he peeked into her bedroom, he saw a> man on top of her. > Little Pappu ran into his room, took off his> clothes, threw himself on his bed, started stroking himself, and moaning, "Ohh, I need a bike! I need a bike!"> > > > >
Little Chinki was not the best student in Sunday school. Usually she slept through the class. One day the teacher called on her while she was napping, "Tell me, Chinki, who created the universe?"> > When Chinki didn't stir, little Pappu, a boy seated> in the chair behind her, took a pin and jabbed her> in the rear. "GOD ALMIGHTY!" shouted Chinki and the> teacher said, "Very good" and Chinki fell back asleep. A while later the teacher asked Chinki, "Who is our> Lord and Saviour," But, Chinki didn't even stir from her slumber. Once again, Pappu came to the rescue> and stuck her again. 'JESUS CHRIST!" shouted Chinki and the teacher said, "very good," and Chinki fell back to sleep. Then the teacher asked Chinki a third question. "What> did Eve say to Adam after she had her twenty-third> child?" And again, Pappu jabbed her with the pin.> This time Chinki jumped up and shouted, "IF YOU STICK THAT FUCKING THING IN ME ONE MORE TIME, I'LL BREAK IT IN HALF AND STICK IT UP YOUR ARSE!"> > >
Teacher arrives at the classroom and finds a drawing of a little dick on the board> She simply erases it and starts her class as if> nothing´s happened. Next day a bigger dick is on the board when she arrives and she does the same as on the previous> day.> On the third day a very big dick is on the board and under it´s written: The more you rub it the bigger it grows... > > > >
The teacher, in an attempt to stimulate their minds, asked the class the following question, " What is bright red and shiny?"> Little Pappu jumped up and shouted, " A fire engine> !!!!???"> "No! No!" said the teacher," But I like the way you> think..> Anyone else?"> Little Chinki replied that it was an apple and the> teacher was happy except> Pappu of course..> Anyway, Little Pappu asked the teacher if he can> ask a question to which> she nodded OK. " What is long, hard, rounded and has> hair at one end? "> "Pappu!!!" she screamed, "WE'LL HAVE NONE OF THAT TALK HERE..." Pappu replied, " No, it's a toothbrush, but I like> the way you think"..> > > > >
Little Pappu was sitting in class doing math> problems when his teacher picked him to answer a question.. "Pappu, if there were five birds sitting on a fence and you shot one with> your gun, how many would be left ?"> "None.", replied Pappu. "'cause the rest would fly> away."> "Well, the answer is four," said the teacher. "But I> like the way you are> thinking."> Little Pappu said, "I have a question for you now.> If there were three> women eating ice cream cones in a shop, one licking> her cone, the second> biting her cone, and the third one sucking her cone,> which one is married ?> Well," said the teacher nervously, "I guess the one> sucking the cone?"> "No," said Little Pappu, "the one with the wedding> ring on her finger. But> I like the way you are thinking..> > > > >
Late one night, little Pappu woke up to the some> loud noises coming from> his parents' bedroom. He got out of bed and walked> down the hall towards> his parents room. Before he made it to the end of> the hall, the noises had> ceased and the bathroom light had gone on..> Little Pappu walked into the bathroom and saw his> father removing a used> condom..> "Daddy, what are you doing?" asked little Pappu> His father looked around nervously wondering what he> could tell his son..> I, um, I'm just checking out the bathroom for mice."> replied his father..> Pappu looked at his father with a gaze of confusion> and said, "Well, what> are you doing? Fucking them?"> > > >
Teacher: Use "harassment" in a sentence..> Pappu: Her mouth said 'no', but her ass meant> 'yes'..> > > >
Confused Little Pappu comes home from school with a> note from his teacher,> indicating that "Pappu seems to be having some> difficulty with the> differences between boys and girls, and would his> mother, "please sit down> and have a talk with johnny about this."> So Pappu's mother takes him quietly, by the hand,> upstairs to her bedroom,> and closes the door..> - first, Pappu, you take off my blouse....> so unbuttons her blouse and takes it off..> - ok, now take off my skirt....> and he takes off her skirt..> - now take off my bra....> which he does..> - and now, Pappu, please take off my panties..> and when Pappu finishes removing those, she says,> "Pappu, PLEASE don't> wear any of my clothes to school any more!"> > > >
Little Pappu came running into the house and asked,> "Mommy, can little girls have babies?" "No," said> his mom, "of course not."> Little Pappu then ran back outside and his mom> heard him yell to his> friends, "It's okay, we can play that game again!"> > > >
Little Pappu, on a day when he was being> particularly reckless, was> playing in the backyard one morning.> Soon, some honeybees started swirling around,> annoying little Johnny.> He began stomping on them in his temper.> His father caught him trampling the honeybees, and> after a brief moment of> thought said, "That's it! No honey for you for one> month!"> Later that afternoon, Johnny pondered upon some> butterflies, and soon> started catching them and crushing them under his> feet.> His father again caught him, and after a brief> moment of thought, said, "No> butter for you for one month!" Early that evening,> Johnny's mother was> cooking and saw some cockroaches on the kitchen> floor.> She began stomping on them one by one until all the> cockroaches were dead.> Johnny's mother looked up to find Johnny and his> father standing there> watching her. To which Johnny said, "Are you going> to tell her, daddy, or> do you want me to?"> > > >
A guy's walking down the street and sees Dirty> Pappu smoking a cigarette.> He says, "Kid, you're too young to smoke."> Pappu looks up and doesn't say anything.> The guy says, "How old are you?"> Pappu says, "Six."> The guy says, "Six? When did you start smoking?"> Pappu says, "Right after the first time I got> laid."> The guy says, "Right after the first time you got> laid? When was that?"> Pappu says, "I don't remember. I was drunk."> > > >
One day a 5th grade class was taking a field trip> but the weather was extremely bad and the trip was> to be delayed and they had to stay in a hotel for> the night.> So Little Pappu was sleeping in the same room as> his teacher.> In the middle of the night the teacher woke up and> was frightened by the sight of Pappu standing right> over her.> He asked if he could sleep with her cause he> couldn't sleep.> She said okay, then Pappu asked to lay a little> closer and she said okay.> Then he asked if he could put his finger in her> belly button...and she said> "NO". "But my mommy lets me do it when I can't sleep> and it helps."> So the teacher says “okay fine, do whatever your mom> lets you do."> A few minutes later the teacher says "OH...that’s> not my bellybutton."> And Pappu says, "That’s not my finger either."> > > > > >
Pappu Rocksssss
TEACHER : PAPPU, go to the map and find North America. PAPPU : Here it is! TEACHER : Correct. Now, class, who discovered America? CLASS : PAPPU! *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
TEACHER : PAPPU, how do you spell "crocodile"? PAPPU : "K-R-O-K-O-D-A-I-L" TEACHER : No, that's wrong PAPPU : Maybe it's wrong, but you asked me how I spell it! *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
TEACHER : PAPPU, give me a sentence starting with "I". PAPPU : I is... TEACHER : No, PAPPU. Always say, "I am." PAPPU : All right... "I am the ninth letter of the alphabet." *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
TEACHER : "Can anybody give an example of "COINCIDENCE?" PAPPU : "Sir, my Mother and Father got married on the same day, same time." *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
TEACHER : "George Washington not only chopped down his father's Cherry tree, but also admitted doing it. Now do you know why his father didn't punish him?" PAPPU : "Because George still had the axe in his hand?" *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- PAPPU : Daddy, have you ever been to Egypt? FATHER : No. Why do you ask that? PAPPU: Well, where did you get THIS mummy then? *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- TEACHER : What a pair of strange socks you are wearing, one is green and one is blue with red spots ! PAPPU: Yes it's really strange. I've got another pair just like that at home.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
TEACHER : Now, PAPPU, tell me frankly do you say prayers before eating ? PAPPU: No sir, I don't have to, my mom is a good cook. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- TEACHER : PAPPU, your composition on "My Dog" is exactly the same as your brother's. Did you copy his ? PAPPU: No, teacher, it's the same dog ! -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
TEACHER : What do you call a person who keeps on talking when people are no longer interested? PAPPU: A teacher ...
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Ways girls turn romantic guys down !!!
HE: Hi!didn't we go on a date once? or was it twice? SHE: Must've been once.i never make the same mistake twice!!!
HE: May I have the pleasure of this dance? SHE: No,i'd like to have some pleasure too!!!
HE: How did you get to be so beautiful? SHE: I must've been given your share!!!
HE: Is it hot in here or is it just you? SHE: It's hot!!!
HE: I'd go to the ends of the world for you! SHE: Okay,but would you stay there?
HE: Will you come out with me this Saturday? SHE: Sorry! i'm having a headache this weekend!!!
HE: I think I could make you very happy SHE: Why,are you leaving?
HE: What would you say if I asked u to marry me? SHE: Nothing. I can't talk and laugh at the same time!!!
HE: Shall we go and see a film? SHE: I've already seen it!!!
HE: Do you think it was fate which brought us together? SHE: Nah,it was plain bad luck!!!
HE: You know I can't seem to get your face out of my mind. SHE: Wow really, I have a similar problem I cant seem to get you out of my face!!!
HE: When I look at your face, I can't hold my self down.. SHE: And when I look at your face I can't seem to keep my food down!
HE: You know when they made u they must have broken the mold. SHE: Yeah and when they were making you must have leaked out of your mold!!
HE: Roses are red, Violets are blue, could there be anyone as beautiful as you? SHE: Roses are red, Violets are blue, i'm sure there's no-one as ugly as you!
HE: Do you have a phone number I can reach you on? She: Sorry, telephones are against my religion!!!
HE: Haven't I seen you someplace before? SHE: Yeah, that's why I don't go there anymore.
HE: Is this seat empty? SHE: Yes, and this one will be too if you sit down.
HE: I'd like to call you. What's your number? SHE: It's in the phone book. HE: But I don't know your name. SHE: That's in the phone book too.
HE: Hey, baby, what's your sign? SHE: Do not Enter
HE: I know how to please a woman. SHE: Then please leave me alone.
HE: I want to give myself to you. SHE: Sorry, I don't accept cheap gifts.
HE: I hope you didn't hurt yourself when fell to earth from heaven. SHE: No, but it looks like you landed on your face!
