My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com

Pages










Showing posts with label meonshow. Show all posts
Showing posts with label meonshow. Show all posts

Monday, July 18, 2011

Panoramic 3D view from tongue

Welcome to a panaromic view from a tongue. This is obviously created by a brilliant mind. Nico Roig created this fantastic visualization of tongue in mouth at.


Dentistry in depth in Barcelona

It is said that the image of the dentist is real while the mouth is creation. To see the original post Click. So If you ever wanted to see what it's like sitting on the tongue, you have your choice. Yuk!!

Augmented Hyperreality 3D Video visions

Now this is something seriously good invention of its type. The day these types of videos become common and relayed by all DTH or Channel broadcasting services, we will feel we are really at the live location. That would really be the Real LIVE Telecasts ;)


Comment on on did you find this video ;)
Pls Support the blog by Clicking Ads.

Wednesday, July 13, 2011

Facebook Friends Phone Directory Print

Now this is a realy really awesome tool by Facebook itself. You can access it here:
http://www.facebook.com/friends/edit/?sk=phonebook

To make it specific, if you are logged into your Facebook Account, you can visit the above page to take you to the Telephone directory of your friends. To test you can Click to Get Facebook Friends Telephone Directory

You can print this too ;)

Monday, July 11, 2011

Scroll bar in HTML Table using DIV and CSS without Javascript

This one was really really tricky. The internet is full with hundreds of different implementations, i dont know why. There are multiple Javascripts mentioned for this. Cross platform concerns are raised for this. Google Chrome not supports..., and Firefox not supports...I dont know what not are mentioned on the internet. A simple google search saying scrollable table in html also does not helps you out.

You can see instances of same problem replicated at hundreds of places some of which are mentioned below. Check out them before reading below. All are awesome workarounds, but none of them tackles the problem.

1) See long javascript implementation at Click here. But problem not solved.
2) See CSS+Javascript workaround at Click here
3) See a solution at Stackoverflow.com at Click here

As mentioned, all the above implementations are ingenious ones. But i dont know why so much pains have been taken up for a simple problem. this also kept me wandering from one solution to other when I wanted one for my own implementation in the facebook application created by Mohd Anwar Jamal Faiz. [Obviously me ;) ]

You can check out this implementation in live at Facebook Application ICEBREAKER. You can search for this App using your facebook account or may also click here Click for FaceBook App Icebreaker. Or if you want to open The icebreaker app direcly in you Facebook account, you may click here For Icebreaker in Facebook account directly

Obviously man! you have to be logged in your facebook account. In case you are not, it may ask you to login. The screen shot is attached here, where you can see the Table having scroll bars. You may click on the photo to enlarge it. [Also, you must click on a few Advertisements. it wont cost you anything, but will help me posting more valuable stuff without trying to find new means of livelihood. Hahaha ;)]



For all the evangelists and critiques, I have tested this implementation over IE6.0+ to IE 9 , FireFox, Google Chrome, PDAs OS and browsers, Blckberry, MacOSX. So I guess I have done a pretty much stable implementation. Hmmm... I think you are appreciating me. ;)


The solution is utterly butterly simple. The trick was straight but only a few can thing it that ways. The scroll attribute can be easily produced using a div element insite the row or column of the table. Undoubtedly, the div will have its inline CSS. you may obviously govern its property using external CSS, but that is obviously not the question.

For example if you have a table code as follows:

<table id="xyz">

<tbody>

<tr>

<td>

blah blah blah

</td>

</tr>

</tbody>

</table>




You must rewrite it as follows:

<table id="xyz">

<tbody>

<tr>

<td>

<div id="Anwar_jamal_table_div" style="overflow:auto; height:100px;width:200px;">

blah blah blah

</div>

</td>

</tr>

</tbody>

</table>

</blockquote>




You can adjust The height,Width As You like.

Time for me to end this post. Write to me or comment here, if something really messy you want to do and this post does not helps you. in all cases, click on a few of the Advertisements, as that is my bread and butter boss!!
Cheers ;)

Thursday, July 7, 2011

Facebook Application Icebreaker by Mohd Anwar Faiz. Do we actually need an Icebreaker Tool? [motivate suggest friends to talk and spread love]

To give a background, Icebreaker is a Facebook Application. IceBreaker is the cute way to spread love and friendship by motivating communication between your friends!!

You ca use the *IceBreaker App* to request your Friend 1 and Friend2 to 'Break the Ice' and Talk with each other. Both of your friends will be informed about your kind gesture on their Facebook Wall. Literally, the phrase 'Break the Ice' means to break down social or emotional stiffness and start talking.

You can visit Icebreaker App on Facebook.Icebreaker App on Facebook. This link may require you to be logged into your Facebbok account. This Application is envisioned, designed, and authored by Mohd Anwar Jamal Faiz. No need to mention, its Me. Cheers ;)

Icebreaker Application is hosted on meonshow servers, as this is a product from the owners of Meonshow. To visit directly the Icebreaker page on Meonshow servers Click hereThis will ask to login through your facebook credentials, if you are not logged in yet.

Now coming back to the question Do we actually need an Icebreaker Tool... I guess this is as trivial question as to ask do we really need to be good. Or keeping it simple, do we really need to advise our friends to talk. I guess, it is an absolute yes. We need to tell our friends that they have not been talking to each other for long. The causes may vary from job, work pressures, family issues, or it can even be as small as forgetting. Whatever be the cause, your request of talking among themselves will be a boost, a reminder to them. This will mature your relations with your friends and also they would start sharing thoughts with each other. Afterall, this is what is life. And this is what Facebook stands for.

You can view this discussion at the official Icebreaker Application discussions page too. Click Here for Icebreaker facebook Discussions Page

Wednesday, July 6, 2011

Terminal (Shell) on Mac OSX or Unix continues to show a folder even if it is deleted or renamed

I have logged this defect with Apple. But since then I have only been told it is legacy Unix behavior. And Unix is supposed to behave that way. In any case, I find it valuable to share this now.

-------------------------------------------------------------
This is already present on Apple Website since 19th March 2010 and has one response in addition to the emails. Read Further Apple Mac OSX Bug By Anwar Faiz.
-------------------------------------------------------------
Make a folder, let us say "xyz" on desktop and cd to this location on a terminal using 'cd' command.
Now rename that folder to "abc".
Now type 'ls' command on Terminal to see the content of folder "xyz", it still shows.
In addition if you use 'pwd' command, it still shows that you are in directory "xyz"
Worse is that even if you delete the folder "xyz" and empty trash. Even then using 'pwd' command would show your present working directory as "xyz" folder.
--------------------------------------------------------------


I got a detailed response for this. The same can be read over at same Apple Official website also. I am thankful to Mr. Bob Harris from New England, USA, who took time to explain.:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All expected behavior.

The 'cd' command makes a chdir() system service call, which opens the target directory and stores the open file descriptor in the process.

When you rename the folder, that just changes the directory entry in its parent folder, it does not change the file system inode for the directory nor does it affect already open file descriptors to the directory.

So when you do an 'ls' with no path, the 'ls' command will ask the file system for the '.' (current directory), which the file systems knows to use the current working directory it already has saved in the process.

This is how Unix has worked forever.

'cd' and 'pwd' are bash built-in commands, so bash has cached the last 'cd' path, and when you issue 'pwd', bash just echos the cached path information. It does not verify anything before displaying the path.

If you want to see the real current path, then try using

/bin/pwd

this will do the more complex reverse path reconstruction, which can have some unexpected responses, because of symbolic and hard links that may have been used to navigate down to the current directory location.
Worse is that even if you delete the folder "xyz" and empty trash. Even then using 'pwd' command would show your present working directory as "xyz" folder.

Again, bash is just echoing the cached path that bash last knew about.

Also since the process still has an open file descriptor to the directory open in the process as the current working directory, the file system will defer the actual directory delete until after that file descriptor is closed.

The fact that a file or directory will not be truely deleted if it is still open, allows an application to continue to use a file if it has it open, even when some other process deletes the file. This can be good for the application, but if that was a huge file and you were trying to free up space, you would not see the space returned until after the process that has the file open, closes the file.

You can use the 'lsof' command to find what processes have what files/directories open.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In addition, it was advised that, if I have additional Unix or Terminal related questions it would be best to post them in the Mac OS X Technologies > Unix Forum. So, one place where you can also redirect yourself for taking other unix Vodka Shots is Apple Unix Discussions

Friday, June 17, 2011

Free Web Hosting Ultimate Solution

Free cPanel Web Hosting with PHP5/Mysql - no advertising!
Register now: http://www.000webhost.com/463696.html

We can offer you a free web hosting package packed with advanced features for hosting & building professional dynamic websites. We provide secure free web space with all the web hosting tools you could possibly ever need.

Our package includes:
- 1500 MB of Disk Space, 100 GB Bandwidth
- Host your own domain (http://www.yourdomain.com)
- cPanel Powered Hosting (you will love it)
- Over 500 website templates ready to download
- Easy to use website builder
- Free POP3 Email Box with Webmail access
- FTP and Web based File Manager
- PHP, MySQL, Perl, CGI, Ruby.
- And many more..

Click here to visit us: http://www.000webhost.com/463696.html

Thursday, June 16, 2011

Free National Aptitude Test Talenthunt 2011

Hi,
I came across a link www.nationaltalenthunt.com conducting a Free
National Aptitude Test on Sept 4, 2011. If it interest anyone, he/she may visit
the site. Please be advised that I have no relation with the aforementioned organization and have not tested any credibilty or quality of test.
Just wanted to pass the info.

Thursday, February 17, 2011

Unix Commands related to Handling files

Without an introductory speech let me come directly to the point.
Listing files in a directory

ls
list the files in the current directory
ls -a
list ALL files, even ones which begin with a dot, which are normally omitted
ls -s
list files, with their sizes
ls -l
list files, giving full details about each file
ls -al mydir/
list all files in directory mydir (including those beginning with a dot), giving full details about each file
ls *.c
list the files which end ".c"
ls mydir/
list the files in directory mydir


Moving or renaming files (IMHO please consider both the same if you are on Unix flavored OS or on Mac)
Examples:
mv oldname newname
rename a file
mv myfile mydir
move a file into another directory
mv myfile1 myfile2 myfile3 mydir
move several files into another directory


To Copy files
Examples:
cp oldname newname
make a copy of a file
cp myfile mydir
make a copy of a file in another directory
cp myfile1 myfile2 myfile3 mydir
make a copy of several files in another directory


To Delete files
Examples:
rm file...
delete the specified files
rm -i file...
ask for confirmation before deletion
rm -f file...
don't ask for confirmation before deletion. BE CAREFUL!
rm -r directory
Delete directory and everything in it. BE CAREFUL! To remove empty directories, see rmdir
rm -rf directory
Delete directory and everything in it, without asking for confirmation. Hey man its not the magic. Actually –rf tells the OS to suppress asking for confirmation. Actually there is never a magic in Software Arena. It’s all how deeper you go, and how diversified the developers approached to a problem. But defects/bug usually come as a magic!! (Some say, if you understand a woman, it is a magic in itself. Have I understood my Girlfriend and would be wife yet!!!!)


You can write me at toughjamy@yahoo.com.
To Know me professionally visit ..Linked In..
You can befriend me at ..FaceBook..
Read jokes at ..Jokes Limitless..
You can also know more about me at ToughJamy : An Informal Me!!

Types of Software Testing

Oh Please! This post is not describing Black box and Whitebox testing etc. For this consult Textbooks (best resource) or millions of website over this. This is just to give you a checklist of various subcategories, each of which is done for different purposes, and often using different techniques.

• Functionality testing to verify the proper functionality of the software, including validation of system and business requirements, validation of formulas and calculations, as well as testing of user interface functionality. Basically testing whether it does what it intends to do.

• Usability testing to ensure that the software is easy and intuitive to use.

• Multithreading testing to see what is impact of running several threads.

• Performance testing to see how well software performs in terms of the speed of computations and responsiveness to the end-user. Just see the time and resources being consumed up. Sometimes even preparing a baseline even sucks!!! At Symantec we clubbed this together with some other stuff and collectively Called this persistence testing.

• Internationalization and Locale testing. Cum’on this needs no explaination for a tester. And if you are not the one, you would never want to know that. Ah! Actually it is beyond the scope to describe how it is done. Since linguistics testing also sometimes get clubbed with this. Some other time..

• Scalability testing to ensure that the software will function well as the number of users and size of databases increase.

• Stress testing to see how the system performs under extreme conditions, such as a very large number of simultaneous users.

• Forced error testing, or attempting to break and fix the software during testing so that customers do not break it in production. That is where hacking also comes into picture

• PCI Compliance testing. This becomes very important if your sales ( bread and butter guys!!) comes from online payment. The Online payment Industry has strict guidelines on Security testing and audits. Veracode again come into picture if you want to outsource this work to a professionally organized group.


• Compatibility testing to check that your software is compatible with various hardware platforms, operating systems, other software packages, and even previous releases of the same software. I remember days when in Adobe I was once testing AcrobatX. It was a really really huge task. You can see my name in Credits page on Adobe Website. Refer Anwar in AcrobatX Credits

• Application security testing to make sure that valuable and sensitive data cannot be accessed inappropriately or compromised under concerted attack. Using your coding, tweaking pointers, tweaking built in operators such as new/delete, using tools like BoundsChecker, Fortify, Application Verifier etc come to your rescue. You can also employ Veracode (See my previous details on VeraCode )

An Introductory lesson on Emergence of Relational Database Management Systems

From the older days of Data backup in notebooks and registers we graduated to Computer Systems having File based data storage systems. A major advent was seen when DBMS were pooping up. And now we live in ages of RDBMS ie. Relational Database management Systems. I have chosen three RDMS for my introductory lesson, typically because they are widely used in Enterprises.
Apart from what outlined below, you have MySQL, Sqllite3, Excel, Acces, and many more.

Let me start with the Oracle. Refer Oracle.comThis database has many features that makes it well suited to data warehousing, including support for very large databases, automated summary management, and an embedded multidimensional OLAP engine. It was 1970, when Dr E F Codd published a paper entitled A Relational Model of Data for Large Shared Data Banks. This relational model, sponsored by IBM, then came to be accepted as the definitive model for relational database management systems – RDBMS. IBM developed a language to manipulate the data stored within Codd's model, which was originally called Structured English Query Language, or SEQUEL, with the word 'English' later being dropped in favor Structured Query Language – SQL. In 1979 a company called Relational Software, Inc. released the first commercially available implementation of SQL. Relational Software later came to be known as Oracle Corporation.


Second in my list is about PostgreSQL. You can see details Go Here For PostGre Official Website, which is Unix-based freeware Object-Relational Database Management System supporting almost all SQL constructs. It includes sub-selects, transactions, and user-defined types and functions. It supports everything from basic table structures, to extremely large datasets. This flexibility allows PostgreSQL to compete with MySQL, SQL Server, Oracle, and Sybase etc.
The name PostgreSQL, was chosen to reflect the relationship between original Postgres and the more recent versions with SQL capability. With the version 6.x series of PostgreSQL, the emphasis has shifted from identifying and understanding existing problems in the backend to augmenting features and capabilities. The overall backend code speed has been increased by approximately 30%, and the backend startup time has decreased 50%, though some people say it go as low as by 83%( I don’t know from where has this figure emerged!!!)
Third is about SQL Server that is a relational database management by BigB Microsoft (Possibly the diverse areas MS is into has made it to remain the king even today. All kudos to Bill Gates). SQLServer supports more than SQL. It is easy to manage and provides a separate OLAP engine. It is the ideal database on web applications constructed in ASP.Net. It links possibly best with ADO.Net (All from Microsft!!. That does not means it does not suits to others. Actually it is what is called a cure to all remedies. This also tells me that it is well suited in Remedy Tool too. On this, some other time though.) One important point is that the SQL Server currently runs only on the Windows operating systems, and MS has no plans for porting it to other platforms (After all BigB has all choices to make. Ahem Ahem!!) has been disclosed.


The Microsoft SQL Server originated in Sybase SQL Server, and it was Microsoft's pleasant entry to the enterprise-level database market. It was first launched in the onset of 1992 ( Though I am poor in dates. But I remember this because I learned this for my theory paper of Engineering. How I managed to have time for studying with my Girlfriend *SO* sitting in same class is a different story. Some other time, on some other blog…) I would conclude with my last sentence tht Oracle and SQLServer still remain the biggest of all RDBMS systems currently used in enterprises, but slowly the paradigm is changing. We all seem to be much happier with open sources softwares. (Hey but I heard Oracle keen to buy MySQL!!!)

Using Torpark Browser to surf Anonymously

Opening proxy server to surf through or using proxy software like Anonymizer refer, has been the real solution for this through decades. There is yet another solution, novel in its kind. Torpark, which is a Firefox-based browser designed to access the Tor network of encrypted proxies. You can see more info at https://xerobank.com/download/xb-browser/

When you use the Torpark browser, your Web session iterates through multiple secure proxies, encrypted, until your request reaches its destination. Torpark is a quick download and and you can just launch the executable when you need it.

For downloading you can go to URL http://www.brothersoft.com/xb-browser-torpark-75427.html

It should be remembered that, Secure browsing is considerably slower than regular browsing.


You can write me at toughjamy@yahoo.com.
To see my Dynamic profile visit ..MeOnShow Profile..
To Know me professionally visit ..Linked In..
You can befriend me at ..FaceBook..
Read jokes at ..Jokes Limitless..

Diagnose and analyse Windows Operating System issues Using Event IDs

Event viewer is the tool that helps your butts here. Anytime your system crashes or an application freezes up, Event Viewer dutifully logs the error. It is under Start, Settings, Control Panel, Administrative Tools, Event Viewer. The utility's System node logs Windows issues and the Application node logs issues with other software. In addition, any Third-party apps might create more nodes. Events are fairly self-explanatory in themselves. The date/time of each event are logged along with its source and some relevant information. The list is usually long but the 'Information' labelled events are generally ignored. The 'Error' and 'Warning' entries are what you should deal with.

In the Event Properties window, there is detailed information about the error in question and a link to the Microsoft’s support Web site. The link will open a detailed page within the Windows Help application for the error.

Using Keypad if your Mouse is not working properly

It is a simple trick. Just Press Left Alt + Left Shift + Num Lock Button + Ok
Now you can move mouse pointers with the help of Numeric Keypad.
7 8 9

4 6

1 2 3
For a Normal Click (usually Left Click in Windows) you can press 5.

enable Folder option if it is not visible

This was a secret Trick on how to enable Folder option if it is not visible. Now it is no more a secret. But who cares. It still remains a 'trick'!!

Often due to virus attack etc, users face a common problem on Windows Systems. Sometimes the "show hidden files and folders" option is not enabled. Even if enabled, you can not view the hidden folders.

In such a case, open RUN, type regedit to open Registry editor. Search for “HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\Advanced”. In the pane on the right side modify the value of “Hidden” to 1 and refresh My Computer window. You shall be be able to see hidden files now.

List of Keyboard Shortcuts In MicroSoft PowerPoint

Hey, I got this list from Internet and the source claimed that he following is borrowed straight out of the PowerPoint 2000 Help File. I respect the author but the authenticity of each command is open for your test.

Function Keys

F1 Display Help or the Office Assistant
SHIFT+F1 Start context-sensitive Help
F2 Select the text box (with text or an object selected inside the text box) or select the text within a text box (with the text box selected)
ALT+F2 Carry out Save As command
ALT+SHIFT+F2 Carry out Save command (File menu)
SHIFT+F3 Change the case of letters
F4 Repeat the last action
SHIFT+F4 Repeat the last Find (Find Next)
CTRL+F4 Close the window
ALT+F4 Quit PowerPoint
ALT+SHIFT+F4 Quit PowerPoint
F5 Carry out Slide Show command (View menu)
CTRL+F5 Restore the presentation window size
ALT+F5 Restore the program window size
F6 Move to the next pane
SHIFT+F6 Move to the previous pane
CTRL+F6 Move to the next presentation window
CTRL+SHIFT+F6 Move to the previous presentation window
F7 Carry out Spelling command (Tools menu)
CTRL+F7 Carry out Move command (presentation Control menu)
ALT+F7 Find next misspelling (Automatic Spell Checking enabled)
CTRL+F8 Carry out Size command (presentation Control menu)
F10 Activate the menu bar
SHIFT+F10 Display a shortcut menu
CTRL+F10 Maximize the presentation window
ALT+F10 Maximize the program window
CTRL+SHIFT+F10 Activate the menu bar
ALT+F11 Display Visual Basic code
F12 Carry out Save As command (File menu)
SHIFT+F12 Carry out Save command (File menu)
CTRL+F12 Carry out Open command (File menu)
CTRL+SHIFT+F12 Carry out Print command (File menu)

Keys for working with presentations

CTRL+N Create a new presentation
CTRL+M Insert a new slide
CTRL+D Make a copy of the selected slide
CTRL+O Open a presentation
CTRL+W Close a presentation
CTRL+P Print a presentation
CTRL+S Save a presentation
F5 Run a presentation
ALT+F4 Quit PowerPoint
CTRL+F Find text, formatting, and special items
CTRL+H Replace text, specific formatting, and special items
CTRL+K Insert a hyperlink
F7 Check spelling
ESC Cancel an action
CTRL+Z Undo an action
CTRL+Y Redo or repeat an action
F6 Switch to the next pane (clockwise)
SHIFT+F6 Switch to the previous pane (counterclockwise)

Keys for browsing hyperlinks in a slide show


TAB Go to the first or next hyperlink
SHIFT+TAB Go to the last or previous hyperlink
ENTER while a hyperlink is selected Perform the "mouse click" behavior of the selected hyperlink
SHIFT+ENTER while a hyperlink is selected Perform the "mouse over" behavior of the selected hyperlink

Keys for deleting and copying text and objects

BACKSPACE Delete one character to the left
CTRL+BACKSPACE Delete one word to the left
DELETE Delete one character to the right
CTRL+DELETE Delete one word to the right
CTRL+X Cut selected object
CTRL+C Copy selected object
CTRL+V Paste cut or copied object
CTRL+Z Undo the last action
Keys for moving around in text
LEFT ARROW One character to the left
RIGHT ARROW One character to the right
UP ARROW One line up
DOWN ARROW One line down
CTRL+LEFT ARROW One word to the left
CTRL+RIGHT ARROW One word to the right
END To the end of a line
HOME To the beginning of a line
CTRL+UP ARROW Up one paragraph
CTRL+DOWN ARROW Down one paragraph
CTRL+END To the end of a text box
CTRL+HOME To the beginning of a text box
CTRL+ENTER To the next title or body text placeholder (see note)
SHIFT+F4 To repeat the last Find action

Keys for selecting text and objects

SHIFT+RIGHT ARROW One character to the right
SHIFT+LEFT ARROW One character to the left
CTRL+SHIFT+RIGHT ARROW To the end of a word
CTRL+SHIFT+LEFT ARROW To the beginning of a word
SHIFT+UP ARROW One line up
SHIFT+DOWN ARROW One line down
ESC An object (with text selected inside the object)
TAB or SHIFT+TAB until the object you want is selected An object (with an object selected)
ENTER Text within an object
CTRL+A (in the slide pane) All objects
CTRL+A (in slide sorter view) All slides
CTRL+A (in the outline pane) All text

Change or resize the font

CTRL+SHIFT+P Change the font size
CTRL+SHIFT+> Increase the font size
CTRL+SHIFT+< Decrease the font size
CTRL+SHIFT+F Change the font

Apply character formats

CTRL+T Change the formatting of characters (Font command, Format menu)
SHIFT+F3 Change the case of letters
CTRL+B Apply bold formatting
CTRL+U Apply an underline
CTRL+I Apply italic formatting
CTRL+EQUAL SIGN Apply subscript formatting (automatic spacing)
CTRL+SHIFT+PLUS SIGN Apply superscript formatting (automatic spacing)
CTRL+SPACEBAR Remove manual character formatting

Copy text formats

CTRL+SHIFT+C Copy formats
CTRL+SHIFT+V Paste formats
Align paragraphs
CTRL+E Center a paragraph
CTRL+J Justify a paragraph
CTRL+L Left align a paragraph
CTRL+R Right align a paragraph

This list would be of much help to those guys (Gals I m sorry, I always forget you!) who are keyboard-holic. In addition it turns out to be really sometimes coz it eases navigation and editing.

Microsoft Useful Apps and Powertoys for Windows

I am listing some of very important utilities that Microsoft shares with people. These can be very useful in day to day job. Some of the tools are also reffered as PowerToys by Microsoft. (And some of the contents are directly fro Microsft website!!)

WinDbg is a tool for debugging any Crash in a program. This tool automatically syncs up the required pdb files ie. The symols file from the MSDN and enables your machine to debug the problems. Refer http://http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx You can have a dump of your crash and investigate, or contact your administrator. In addition, you can also log a radar (defect/bug) on the Microsoft. (Also See http://en.wikipedia.org/wiki/WinDbg)

ClearType Tuner: Dramatically improves font legibility on some LCD screens. For more details over this see http://www.microsoft.com/typography/cleartype/tuner/tune.aspx

Image Resizer: This tool adds a new menu when you right-click a photo on your PC. Just click Resize Pictures to change an image's dimensions without opening an editor. (You may even try this tool to test how your photo looks in your Splash Profile at MeOnShow.com

CD Slide Show Generator: With this PowerToy you can view images burned to a CD as a slide show. The Generator works downlevel on Windows 9x machines as well.

Virtual Desktop Manager: Manage up to four desktops from the Windows taskbar with this PowerToy.

Taskbar Magnifier: Use this PowerToy to magnify part of the screen from the taskbar.

Tweak UI: If you don't already have Tweak UI, get it. This essential OS tweaking tool offers more granular control over your privacy settings and operations, and even over the way you log in to your PC (plus much more). It should be one of the first things you install on any new computer.

Alt-Tab Replacement: Adds previews of each page when you switch between open applications using -.

SyncToy: Improves the task of synchronizing files among multiple machines, especially compared with Windows Briefcase.

These tools can really help incrrease your productivity!!
[not reproductivity ;)lol]

Using Process Explorer in Windows XP Server Vista and Win7

In Order to know what all processes are running and to forcibly terminate any you need to explore Process explorer. In Windows platform this can come easily by opening Taskbar. Ctrl+Alt+Delete and selecting Taskbar is historically the method to reach there.

You can instead of killing a process, suspend it (right-click on a process to see this option). This is useful in the case if program stuck in an endless loop.

In addition, if you wanna know what is the process identification (term better known as PID historically since the advent of Unix based Systems), then Open the program, then switch to Process Explorer. In the top-right corner there is a target icon (see concentric circles). Clicking this icon and dragging it onto the program you want to see, the Process Explorer will highlight the process.

Friday, October 22, 2010

DOS and DDOS: An article on Hacking using Denial of Service Attacks

A very common term in the field of hacking and Security is DoS Attack. Hackers employ a number of techniques to attack and disrupt computer systems and networks. There is an important point here, to understand the two flavors of DOS attacks. Attacks can be of different types depending on the aim and speciality of the attacker. Some just want to disrupt computer systems but there are some hackers who intend to infiltrate the computers and steal sensitive information for drastic and really crazy purposes.

DOS or Denial of Service attack: This is a common way to attack a computer network. The main intention of a DOS attack is to disrupt the activities of the server through overloading it with unwanted requests. The attacker usually sends large number of requests to the server which leads to overloading. When the server gets overloaded, it is unable to answer to normal requests. DOS attacks are usually directed at websites. It is very easy to prevent and stop DOS attacks. In very plain words it should be noted that DOS attack if properly done can bring server on knees. Users and some scripts and functions would be starved of some services. These services may be among some of the crucial ones.

As said on the Symantec Website:
DoS is a Denial of Service to a victim trying to access a resource. In many cases it can be safey said that the attack requires a protocol flaw as well as some kind of network amplification.
Denial of Services is also an attack on a computer system or network that causes a loss of service to users, typically the loss of network connectivity and services through the the consumption of bandwidth of the victim network, or the overloading the computational resources of the victim system.
The motivation for DoS attacks is not to break into a system. Instead, it is to deny the legitimate use of the system or network to others who need its services. One can say that this will typically happen through one of the following means:
1. Crashing the system.
2. Deny communication between systems.
3. Bring the network or the system down or have it operate at a reduced speed which affects productivity.
4. Hang the system, which is more dangerous than crashing since there is no automatic reboot. Productivity can be disrupted indefinitely.



There is yet another but more advanced form of denial of service attack. Here, a large number of zombie computers are used to send requests to the server which is being attacked. This is popularly known as DDOS or Distributed Denial of Service Attack. This attack causes the server to get overburdened within a short span of time. The zombie computers are controlled by hackers by means of malware. Because of the large number of computers involved in the attack, the power of the attacker gets magnified thousands of times. The best way to protect against distributed denial of service attacks is to use a traffic filter. A traffic filter is a device that prevents traffic from the IPs from where the malicious requests are originating.
Again it is worth to mention what Symantec website says about this:
A Distributed DoS (DDoS) is the combined effort of several machines to bring down victim. In many cases there is a master machine that launches the attack to zombie machines that are part of a bot network, as shown below in Figure 1. Some bot networks contain many thousands of machines used to launch an attack.

-Mohd Anwar Jamal Faiz
Software Engineer (White Box API and Security) at Leading Software Product Company

Tuesday, August 10, 2010

Two methods for Accepting User Input in Windows Command Line Prompt

Recently there was a task in Adobe that involved automation of entire Code Coverage Automation System. This involved calling one script after other. As the whole task involved some 100 number of scripts and I had to check the status of system say after execution of script number 56. So I had to interrupt in between in such a way that this interruption does not cause any data loss and we can continue from where we paused. For this I employed user input trick.

Method 1:

You can interact with a user and ask for any data to be entered. The traditional DOS O[perating System had a "Choice" command for a limited interaction. It is now superceded in Windows XP/Vista by the more versatile "set /p".

The syntax is:
set /p variable= [some string]

Here "variable" is the name of the variable that will be assigned to the data that you want the user to input. "some string" is the message that the user will see as a prompt. If desired, the string can be omitted.

Here is an example that asks the user to enter his or her id:
set /p u_id= What is your UserId?

This will create a variable %u_id% whose value is whatever the user enters. Note that the user must press the "Enter' key after typing the input.

You can also access this variable using following syntax:
%variable%

For example to print what was entered earlier just pass following command on command prompt: echo %u_id%


Method 2:

You can use "copy con" command to achieve somewhat similar goal. The syntax is:

copy con

This command accepts user input (including commas and enter keys) and dumps it into a file specified by the given file name. The reading continues till it is stopeed by Ctrl+z key combination. From there it can be read thereafter.

For example, if you have to prompt user to enter his user id, you can do the following:

echo Please enter your UserId
copy con abc.txt

I tested both the methods and personally found method 2 to be more satisfying. Though I find both methods to be error free, easy and enjoyable, yet you may have your own taste!!

So Happy Tasting (Not Happy Testing ;)

You can write me at toughjamy@yahoo.com.
To Know me professionally visit ..Linked In..
You can befriend me at ..FaceBook..
Read jokes at ..Jokes Limitless..
You can also know more about me at ToughJamy : An Informal Me!!