Pages

Saturday, December 4, 2010

Remove Facebook rotating image spam

Firstly i thought removing the cookies and cache will clear the stuff but it doesn't help. The attackers who made the JavaScript  had actually utilized the email address given by Facebook which most of us don't have a idea exist even.

So we have to refresh that also after removing cookies and cache of browser. This came from the fact that when you see the status update it says via email, and thats the email they targeted.
Follow these simple steps to follow to remove the spam completely:-

1. Remove all the cookies and cache of browser + go to control panel -> network and internet ->delete browsing history and cookies. In the general tab click setting under browsing history as shown.
Click view files after the clicking settings tab. Delete all the files in there.
Now clear the cookies and cache that your browser stores from its settings.

2. After deleting all the files. Go to this link while you are logged in Facebook http://www.facebook.com/mobile/
Here you must see upload via Facebook. Click the picture above it. This is the email you can use to update status of your Facebook, post pics and much more.

Now, you have this.


Click on refresh your email, and  it will ask for your permission that if you are sure to do it. Say reset and a final success message with a new email address will be given to you.

And you are done... no more rotating image spam to your Facebook wall.

Summarizing: 1. Delete all the cookies and clear browser cache. 
                     2. Refresh the email of the Facebook. 

Please comment if any problem in the steps or the spam persist.
-d3m0n

Sunday, November 28, 2010

Ubuntu 10.10- Maverick Meerkat

Recently, i made a shift to Ubuntu 10.10 maverick meerkat. The maverick is the adjective and meerkat is the animal. It was launched on 10th oct 2010 so version 10.10. They release a version every six months with small changes.
If you interested in knowing about other names of ubuntu versions.. have a look here.


Whats new?
1. The best thing i loved is the Ubuntu software center. A center for all your software needs..and obviously they all are free and open source.
2. The open office is still embedded, so no need to search for your word, pdf, excel, ppt etc documents.
3. The rhythm box is the inbuilt music player. It plays everything including online radio stations, podcast, last FM, and few more stuff. It gets embed into the volume control itself if closed.
4. Graphics is little tweaked, and looks better. Compiz config can be installed using Ubuntu software center.
5. The new default wallpaper and wall theme looks good.


Why Linux or say Ubuntu?
1. Faster-
                     With my PC configuration (p8600 2.4 ghz core 2 duo, 4GB of ram, 512 ATI radeon 4570 graphics card) it takes me around 45-55 seconds to boot my win 7 PC, freshly installed. And it takes 25-30 seconds to shutdown. Ubuntu 10 takes only 2 seconds to shut. The booting time is also better around 25 seconds + no time to start some services which hangs windows after booting a little.
2. Free-
                     Open source and free softwares.
3. Compatible-
                      Most of the windows softwares are compatible. You need to install wine for that.
4. Easy to use-
                       Its not that command line, that most of us use to hear about Linux. e.g. i hear once from someone that in Linux if you want to open CD drive than you have to write line of codes for that :P
5. Looks good-
                       Better graphics then windows and easy to manage them
6. Developer Friendly-
                      If you are developer than Linux is god for you. They have support for .net on Linux now. To know more about this click here MONO

It takes a little to shift permanently to Linux, you did not know windows from birth, its just that you are accustomed to it.
There are many Linux available but i prefer Ubuntu because of good support available at Ubuntu forums. Give it a shot and see the power.

Monday, November 22, 2010

Practical of TE comp

SPL
    Most of us TEs would have heard about the professor who came as the external for the SPL (signal processing lab) viva. Well, here's a first person account of the same.
    Day 1, scheduled to start at 9.00am, the dude walks in at 12.30. Till then, almost everyone was bored to the core. Whatever excitement or anticipation that the students had for the first viva of their engineering career, it had all but evaporated by then. Meanwhile, people outside, who had their exams the same day, were hungry to know how the first batches fared. We were making fun of them... until it was time, finally. Whatever happened next, was in no way, even close to fun.
    He started taking close to half an hour for each set (2 students). His prime target was the files we make for our assignments. Everyone knows how we write files, so did he; and he wished to exploit it. He would scrutinise each and every page until he finds a mistake, and then either your file is in the air, or broken into pieces. Our internal supervisor, next day, tried to save few batches by taking their orals before he came. Some respite. Overall, about 30-40% boys (yes, gender specific) were asked to come again next time. And girls !, well, what to say, he was a totally different person to them. All goody, goody. Oh! God bless him.

RVPL
    This was supposed to be the easiest practical ever for me, till i found out that maximum atkts were in this prac so far. Wonder why, it's so easy! First day, first batch, only 3 students were able to produce complete output, and i thought, yes, its is going to kill the students next day. The practice of asking other people about their practicals never helps, believe me. The pattern of TE practicals changes so fast, also, day 2 did not have any questions which were there on day 1. All you could get from students of day 1 was the answer to the question 'Are they giving change', and it was in a negative.

HL
    By far, the easiest. People were getting changes if they asked, and most did. Even if they aren't able to perform, the internal is generous enough to pass most of them, if one has written some relevant code, which may not even work! 20 is good, if you are not able to compile or even remove errors

Last words, had the first viva of my life, and it was hell. There are most next semester, and this time, the assignment files are going to look better than this time. Lesson of the day, presentation matters a lot.

Monday, November 8, 2010

Clockwise or Anti-Clockwise ?

Do you see it turning clockwise or anti-clockwise ?


THE Right Brain vs Left Brain test ... do you see the dancer turning clockwise or anti-clockwise?

If clockwise, then you use more of the right side of the brain and vice versa.

Most of us would see the dancer turning anti-clockwise though you can try to focus and change the direction; see if you can do it.

LEFT BRAIN FUNCTIONS
uses logic
detail oriented
facts rule
words and language
present and past
math and science
can comprehend
knowing
acknowledges
order/pattern perception
knows object name
reality based
forms strategies
practical
safe

RIGHT BRAIN FUNCTIONS
uses feeling
"big picture" oriented
imagination rules
symbols and images
present and future
philosophy & religion
can "get it" (i.e. meaning)
believes
appreciates
spatial perception
knows object function
fantasy based
presents possibilities
impetuous
risk taking

Check out the article at The Herald Sun
You can change her direction and see her turning both clockwise and anti-clockwise, try to focus and concentrate on her feet and the shadows and may be you can.

BTW It seems trickier to me
 
src: The Herald Sun

Friday, November 5, 2010

Diwali- The festival of Lights

Happy Diwali to all the followers of the blog and other PICT'ians.Must have enjoyed the small vacation of Diwali.
As it is festival of lights we light many dias and decorated the house. Had Lakshmi Pujan and then crackers.
Diwali is the festive when all our family members re-unite so its happy time for all :)
Enjoy the festival and keep safe from crackers. And get ready for practicals and exams. 
Wish you all good luck :)  

Saturday, October 30, 2010

Have a extra monitor?

I bought a LCD monitor in 1st year of my engineering but never used it much. The very first semester it was the only thing i had, but the next year i had a laptop and i ignored my desktop. It was used only for downloading and sometimes experimenting.
Well not to forget that it helped me a lot in winning the OPUS (project i had was completely tested and worked best with my desktop) and many more applications were tested on it. My room mate also used it for his multi player game testing and his server client chat application.
But recently i find many ways i can utilize it... this post will be useful for those who have a extra monitor/desktop.
Extended display: For those who like lots of coding this is a boon!
Connect that extra monitor to your laptop and change the setting to extended display. See the screen shot below. It will show you two display's..
After you change the display to extended display you will see your desktop on other too.
It could be damn useful for people coding long hours and it increases the productivity by 20-30 % (study says).
A small demo of my extended display. I am using Dell studio 1555 and Samsung sync master 740nw on the left.


8051 Simulator

For many students of TE Comp. Sci. and others too this could be useful, a 8051 simulator. There are many available on internet but many of them don't work. I tried this and it worked well for me.
Download 8051 simulator here
Follow simple steps given in the install.txt file in the download.

After that to make a new project follow these simple steps:-
1. Open keil uvision 3 from startup.

2. Project->New uVision Project

3. Give it a name and save.

4. Select IC Atmel 89C51, looks good for our 8051 simulation. You can choose the one you want, details about it are given on right hand side.

5. Press OK.

6. File->NEW

7. A text file will open. Write your asm code here and save it as ".asm"

8. Add the saved file to the project we just created on the left, using right click and add file. You need to show all files in order to see ".asm" files , the default is ".c" files.
For eg.
MOV R0,#04
MOV A,#01
LABEL:
MOV B,R0
MUL AB
DJNZ R0,LABEL
RET
END
This was my code for Factorial of 4, you can see some changes than what we use to write on kit. a) we have to use label here instead of address for jump
b) register B which has address F0 is also changed on line 4.

9. Project-> Translate Current File
Project-> Build Target File
Project-> Rebuild all Target File
This will show you errors if any in the bottom of the software.

10. Go to debug and press start debugging session.

11. Debug->Run
You can see all the registers changing on the left.
In my program the register 'a' got a value 0x18 i.e 24 .. factorial of 4.

Well this is kinda useful for practicing 8051 extra assignment list. You can explore more.. like while in debugging mode you can see the timer of the micro controller and even SCON and SBUF register values. ( goto peripherals and select what you need).


Still have a doubt feel free to ask a question. Only 8051 related queries please.